dreamable/LanguageNotes
ID title note 标签
2
size_t
for(i=0;i<vector.size()-1;++i)

size_t is unsigned integer, so size()-1 is not -1. We should use i+1<vector.size() instead.

C++
1
Functors