deque.rst
来自「Boost provides free peer-reviewed portab」· RST 代码 · 共 61 行
RST
61 行
.. Sequences/Classes//deque |30.. Copyright Aleksey Gurtovoy, David Abrahams 2007... Distributed under the Boost.. Software License, Version 1.0. (See accompanying.. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)deque=====Description-----------``deque`` is a |variadic|, `random access`__, `extensible`__ sequence of types that supports constant-time insertion and removal of elements at both ends, and linear-time insertion and removal of elements in the middle. In this implementation of the library, ``deque`` is a synonym for |vector|.__ `Random Access Sequence`___ `Extensible Sequence`_Header------.. parsed-literal:: #include <boost/mpl/deque.hpp>Model of--------* |Variadic Sequence|* |Random Access Sequence|* |Extensible Sequence|* |Back Extensible Sequence|* |Front Extensible Sequence|Expression semantics--------------------See |vector| specification.Example-------.. parsed-literal:: typedef deque<float,double,long double> floats; typedef push_back<floats,int>::type types; BOOST_MPL_ASSERT(( |is_same|\< at_c<types,3>::type, int > ));See also--------|Sequences|, |vector|, |list|, |set|
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?