stl size: added documentation

This commit is contained in:
Daniel Marjamäki 2009-12-19 19:24:48 +01:00
parent e7c0e4d482
commit ad225ea745
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ private:
" * mismatching containers in calls\n"
" * dereferencing an erased iterator\n"
" * for vectors: using iterator/pointer after push_back has been used\n"
" * dangerous usage of find";
" * dangerous usage of find\n"
" * optimisation: using empty() instead of size()";
}
bool isStlContainer(const Token *tok);