喜欢:
std::string<T>::size_type
std::list<T>::size_type
std::map<T>::size_type
std::vector<T>::size_type
无论cplusplus.com和cppreference.com说,他们通常size_t,但他们真正的,明确保障的标准是size_t,除非使用自定义分配器?
size_t
c++ portability stl
c++ ×1
portability ×1
stl ×1