1 .. Sequences/Concepts//Bidirectional Sequence |20
9 A |Bidirectional Sequence| is a |Forward Sequence| whose iterators model
10 |Bidirectional Iterator|.
18 Expression requirements
19 -----------------------
21 In addition to the requirements defined in |Forward Sequence|,
22 for any |Bidirectional Sequence| ``s`` the following must be met:
24 +---------------------------+-----------------------------------+---------------------------+
25 | Expression | Type | Complexity |
26 +===========================+===================================+===========================+
27 | ``begin<s>::type`` | |Bidirectional Iterator| | Amortized constant time |
28 +---------------------------+-----------------------------------+---------------------------+
29 | ``end<s>::type`` | |Bidirectional Iterator| | Amortized constant time |
30 +---------------------------+-----------------------------------+---------------------------+
31 | ``back<s>::type`` | Any type | Amortized constant time |
32 +---------------------------+-----------------------------------+---------------------------+
38 |Semantics disclaimer...| |Forward Sequence|.
40 +---------------------------+-----------------------------------------------------------------------+
41 | Expression | Semantics |
42 +===========================+=======================================================================+
43 | ``back<s>::type`` | The last element in the sequence; see |back|. |
44 +---------------------------+-----------------------------------------------------------------------+
57 |Sequences|, |Forward Sequence|, |Random Access Sequence|, |Bidirectional Iterator|, |begin| / |end|, |back|
60 .. copyright:: Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams
61 Distributed under the Boost Software License, Version 1.0. (See accompanying
62 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)