deque_01】的更多相关文章

A.头尾 添加/移除 A.1.deque::push_back(elemValue); A.2.deque::pop_back(); A.3.deque::push_front(elemValue); A.4.deque::pop_front(); B.随机存取 B.1.[?] ==> 越界时,程序 崩溃 B.2.at(?) ==> 越界时,抛异常 out_of_range C.数据存取 C.1.T deque::front(); // 返回,不可用于设置 C.2.T deque::back(…