- zouyc 的博客
STL与vector
- @ 2025-5-10 13:43:40
什么是STL
C++标准库是一组C++类,就像一个工具箱,提供了通用的功能函数。

STL全程是标准模板库,是C++标准库的核心部分,大约占80%。

常用STL
1 vector 变长数组 2 stack 堆栈 3 queue,priority_queue,deque 队列 4 map,unordered_map,unordered_multimap 哈希表 5 set,multiset,unordered_multiset 集合 6 bitset 压位