Merge pull request #100 from fabiogaluppo/patch-1

Update CppCoreGuidelines.md
pull/117/merge
Andrew Pardoe 10 years ago
commit 460e6fe986

@ -2108,7 +2108,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme
**Example**:
void fct(const string& s); // OK: pass by const reference; always checp
void fct(const string& s); // OK: pass by const reference; always cheap
void fct2(string s); // bad: potentially expensive

Loading…
Cancel
Save