Merge pull request #99 from fabiogaluppo/patch-2

Update CppCoreGuidelines.md
pull/117/merge
Andrew Pardoe 10 years ago
commit 8b8e0a8e34

@ -2134,7 +2134,7 @@ For small objects (up to two or three words) is is also faster than alternatives
void fct(int x); // OK: Unbeatable
void fct(const int& x); // bad: overhead on access in fct2()
void fct2(const int& x); // bad: overhead on access in fct2()
void fct(int& x); // OK, but means something else; use only for an "out parameter"

Loading…
Cancel
Save