Enables metafunction fun for the use in Lambda Expressions on
compilers that don't support partial template specialization or/and
template template parameters. Expands to nothing on conforming compilers.
Parameter |
Requirement |
Description |
arity |
An integral constant |
The metafunction's arity, i.e. the number of its
template parameters, including the defaults. |
fun |
A legal identifier token |
The metafunction's name. |
params |
A PP-tuple |
A tuple of the metafunction's parameter names, in
their original order, including the defaults. |
For any integral constant n, a Metafunction fun, and arbitrary types A1,... An:
template< typename A1,... typename An > struct fun
{
// ...
BOOST_MPL_AUX_LAMBDA_SUPPORT(n, fun, (A1,...An))
};
Precondition: | Appears in fun's scope, immediately followed by the scope-closing
bracket (}). |
Return type: | None. |
Semantics: | Expands to nothing and has no effect on conforming compilers. On compilers that
don't support partial template specialization or/and template template parameters
expands to an unspecified token sequence enabling fun to participate in
Lambda Expressions with the semantics described in this manual. |