目录 头文件 string 目录部分 1.string的定义及初始化 ① 用一个字符串给另一个字符串赋值 ②用字符串常量对字符串进行赋值 ③ 用n个相同的字符对字符串赋值 2.string的运算符及比较符 3.string的一些常用函数 ① size()和length() ② at() ③ find() ⑤ append() stack 目录部分 1.stack的定义 2.常用函数 ① size() ② empty() ③ pop() 与 top() ④ push() queue 目录部分 1.…
stl_deque.h /** Class invariants: * For any nonsingular iterator i: * i.node is the address of an element in the map array. The * contents of i.node is a pointer to the beginning of a node. * i.first == *(i.node) * i.last == i.first + node_size * i.c…