You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Alternative: If you use global (more generally namespace scope) data to avoid copying, consider passing the data as an object by reference to const. "
I marked part in bold italic. I suggest amending it to read:
"Alternative: If you use global (more generally namespace scope) data to avoid copying, consider passing the data as a const reference to an object. "
The text was updated successfully, but these errors were encountered:
@jonnygrant I'm a professional C++ Architect for over 23 years and I AGREE WITH YOU "a const reference to an object" !
Sorry for the rant (i did it because there are some guys that DO NOT understand what you are saying - let aside that THEY DO NOT understand a sentence and they are keen on following the shepherds) !
I.2 has the following:
"Alternative: If you use global (more generally namespace scope) data to avoid copying, consider passing the data as an object by reference to const. "
I marked part in bold italic. I suggest amending it to read:
"Alternative: If you use global (more generally namespace scope) data to avoid copying, consider passing the data as a const reference to an object. "
The text was updated successfully, but these errors were encountered: