Top "Size-t" questions

In C/C++ size_t is the unsigned integer type of the result of the sizeof operator

When should I use vector<int>::size_type instead of size_t?

In this question I see following: for (vector<int>::size_type ix = 0; ix ! = ivec.size(); ++ix) { ivec[ix] = 0; } …

c++ vector stl int size-t