]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/mpl/doc/src/refmanual/LambdaExpression.rst
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / mpl / doc / src / refmanual / LambdaExpression.rst
CommitLineData
7c673cae
FG
1.. Metafunctions/Concepts//Lambda Expression |30
2
3Lambda Expression
4=================
5
6Description
7-----------
8
9A |Lambda Expression| is a compile-time invocable entity in either of the following two
10forms:
11
12* |Metafunction Class|
13* |Placeholder Expression|
14
15Most of the MPL components accept either of those, and the concept
16gives us a consice way to describe these requirements.
17
18
19Expression requirements
20-----------------------
21
22See corresponding |Metafunction Class| and |Placeholder Expression| specifications.
23
24
25Models
26------
27
28* |always|
29* |unpack_args|
30* ``plus<_, int_<2> >``
31* ``if_< less<_1, int_<7> >, plus<_1,_2>, _1 >``
32
33
34See also
35--------
36
37|Metafunctions|, |Placeholders|, |apply|, |lambda|
38
39
40