Mirror reflection library 0.5.13
|
Meta-function returning MetaType reflecting a modified original type. More...
#include <mirror/mirror_fwd.hpp>
Public Types | |
typedef reflected< typename mirror::mp::apply < ModifierExpr, typename original_type< MetaType > ::type >::type >::type | type |
typedef MetaType | type |
MetaType reflecting the type modified by the modifier expression. |
Meta-function returning MetaType reflecting a modified original type.
This Meta-function returns a MetaType reflecting a type that is the result of application of the ModifierLambdaExpression on the original_type
reflected by the passed MetaType
.
MetaType | meta-type reflecting the original type to be modified and reflected. |
ModifierLambdaExpression | unary lambda expression doing the modification of the original type. For example:
std::add_const<std::add_pointer<mirror::mp::arg<1>>> The type trait templates used to construct the modifier expression must not return a boolean or integral constants. |
mirror/example/meta_prog_13.cpp, and mirror/example/meta_prog_14.cpp.