]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/mpl/doc/src/refmanual/sequence_tag.rst
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / mpl / doc / src / refmanual / sequence_tag.rst
1 .. Sequences/Intrinsic Metafunctions//sequence_tag
2
3 sequence_tag
4 ============
5
6 Synopsis
7 --------
8
9 .. parsed-literal::
10
11 template<
12 typename X
13 >
14 struct sequence_tag
15 {
16 typedef |unspecified| type;
17 };
18
19
20
21 Description
22 -----------
23
24 ``sequence_tag`` is a |tag-metafunction| for all |tag dispatched|
25 `intrinsic sequence operations`__.
26
27 __ `Intrinsic Metafunctions`_
28
29
30 Header
31 ------
32
33 .. parsed-literal::
34
35 #include <boost/mpl/sequence_tag.hpp>
36
37
38 Parameters
39 ----------
40
41 +---------------+-------------------+-----------------------------------------------+
42 | Parameter | Requirement | Description |
43 +===============+===================+===============================================+
44 | ``X`` | Any type | A type to obtain a sequence tag for. |
45 +---------------+-------------------+-----------------------------------------------+
46
47
48 Expression semantics
49 --------------------
50
51 For any arbitrary type ``x``:
52
53
54 .. parsed-literal::
55
56 typedef sequence_tag<x>::type tag;
57
58 :Return type:
59 A type.
60
61 :Semantics:
62 ``tag`` is an unspecified tag type for ``x``.
63
64
65 Complexity
66 ----------
67
68 Amortized constant time.
69
70
71 See also
72 --------
73
74 `Intrinsic Metafunctions`_, |Tag Dispatched Metafunction|
75
76
77 .. copyright:: Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams
78 Distributed under the Boost Software License, Version 1.0. (See accompanying
79 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)