• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.. copyright:: Copyright �  2001-2009 Aleksey Gurtovoy and David Abrahams
41   Distributed under the Boost Software License, Version 1.0. (See accompanying
42   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
43