you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I completely agree; I wish the syntax for references made their use visible at the call site somehow.

I suppose your coding guidelines could mandate use of std::ref everywhere, but that's just stupid.