Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
non-const-references [2015/01/07 21:34]
awf
non-const-references [2016/06/23 09:51]
awf
Line 1: Line 1:
 ===== Avoid non-const references ===== ===== Avoid non-const references =====
 +
 +[I know this is in the [[https://google.github.io/styleguide/cppguide.html#Reference_Arguments|Google style guide]], consider this another version of the same argument.]
  
 In general, arguments should be values, const references, or pointers, _not_ bare references.  Why?   In general, arguments should be values, const references, or pointers, _not_ bare references.  Why?  
non-const-references.txt ยท Last modified: 2016/06/23 09:51 by awf
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0