⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frontextensiblesequence.rst

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 RST
字号:
.. Sequences/Concepts//Front Extensible Sequence |50.. 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)Front Extensible Sequence=========================Description-----------A |Front Extensible Sequence| is an |Extensible Sequence| that supports amortized constant time insertion and removal operations at the beginning. Refinement of-------------|Extensible Sequence|Expression requirements-----------------------In addition to the requirements defined in |Extensible Sequence|, for any |Back Extensible Sequence| ``s`` the following must be met:+-------------------------------+-------------------------------+---------------------------+| Expression                    | Type                          | Complexity                |+===============================+===============================+===========================+| ``push_front<s,x>::type``     | |Front Extensible Sequence|   | Amortized constant time   |+-------------------------------+-------------------------------+---------------------------+| ``pop_front<s>::type``        | |Front Extensible Sequence|   | Amortized constant time   |+-------------------------------+-------------------------------+---------------------------+| ``front<s>::type``            | Any type                      | Amortized constant time   |+-------------------------------+-------------------------------+---------------------------+Expression semantics--------------------|Semantics disclaimer...| |Extensible Sequence|.+-------------------------------+-----------------------------------------------------------+| Expression                    | Semantics                                                 |+===============================+===========================================================+| ``push_front<s,x>::type``     | Equivalent to ``insert<s,begin<s>::type,x>::type``;       ||                               | see |push_front|.                                         |+-------------------------------+-----------------------------------------------------------+| ``pop_front<v>::type``        | Equivalent to ``erase<s,begin<s>::type>::type``;          ||                               | see |pop_front|.                                          |+-------------------------------+-----------------------------------------------------------+| ``front<s>::type``            | The first element in the sequence; see |front|.           |+-------------------------------+-----------------------------------------------------------+Models------* |vector|* |list|See also--------|Sequences|, |Extensible Sequence|, |Back Extensible Sequence|, |push_front|, |pop_front|, |front|

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -