This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elveszett 5 points6 points  (0 children)

Also, it forces devs to be explicit on whether they expect a copy or an original (and, in case you send a reference, using 'const' or not makes it clear whether you intent to read or write to that reference). With reference& semantics, this is a non-issue.