sequence_tag.rst
来自「Boost provides free peer-reviewed portab」· RST 代码 · 共 80 行
RST
80 行
.. Sequences/Intrinsic Metafunctions//sequence_tag.. 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)sequence_tag============Synopsis--------.. parsed-literal:: template< typename X > struct sequence_tag { typedef |unspecified| type; };Description-----------``sequence_tag`` is a |tag-metafunction| for all |tag dispatched| `intrinsic sequence operations`__.__ `Intrinsic Metafunctions`_Header------.. parsed-literal:: #include <boost/mpl/sequence_tag.hpp>Parameters----------+---------------+-------------------+-----------------------------------------------+| Parameter | Requirement | Description |+===============+===================+===============================================+| ``X`` | Any type | A type to obtain a sequence tag for. |+---------------+-------------------+-----------------------------------------------+Expression semantics--------------------For any arbitrary type ``x``:.. parsed-literal:: typedef sequence_tag<x>::type tag; :Return type: A type.:Semantics: ``tag`` is an unspecified tag type for ``x``.Complexity----------Amortized constant time.See also--------`Intrinsic Metafunctions`_, |Tag Dispatched Metafunction|
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?