容器是否带find()函数
2017-03-16 本文已影响0人
VAYY
array、vector、deque、list、forward_list不带find()成员函数,如需使用,可使用全局的find()函数;
set/multiset、map/multimap、 unordered_set/unordered_multiset、unordered_map/unordered_multimap自带有成员函数find()
array、vector、deque、list、forward_list不带find()成员函数,如需使用,可使用全局的find()函数;
set/multiset、map/multimap、 unordered_set/unordered_multiset、unordered_map/unordered_multimap自带有成员函数find()