Home > Q&A > body text
怪我咯2017-04-17 13:09:54
If there is no typename keyword, the compiler cannot tell whether size_type is a member of std::vector<T> or something else. For example, if std::vector<T> has a static member of size_type.
size_type
std::vector<T>