1 .. Sequences/Classes//deque |30
9 ``deque`` is a |variadic|, `random access`__, `extensible`__ sequence of types that
10 supports constant-time insertion and removal of elements at both ends, and
11 linear-time insertion and removal of elements in the middle. In this implementation
12 of the library, ``deque`` is a synonym for |vector|.
14 __ `Random Access Sequence`_
15 __ `Extensible Sequence`_
22 #include <boost/mpl/deque.hpp>
29 * |Random Access Sequence|
30 * |Extensible Sequence|
31 * |Back Extensible Sequence|
32 * |Front Extensible Sequence|
38 See |vector| specification.
46 typedef deque<float,double,long double> floats;
47 typedef push_back<floats,int>::type types;
49 BOOST_MPL_ASSERT(( |is_same|\< at_c<types,3>::type, int > ));
55 |Sequences|, |vector|, |list|, |set|
58 .. copyright:: Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams
59 Distributed under the Boost Software License, Version 1.0. (See accompanying
60 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)