Mirror reflection library - Puddle compile-time layer 0.5.13
|
Functions | |
template<typename Type > | |
reflected< Type >::type | puddle::reflected_type (void) |
Reflects the Type passed as template parameter. | |
template<typename MirrorMetaObject > | |
aux::wrap< MirrorMetaObject >::type | puddle::adapt (void) |
Wraps a Mirror's meta-object. |
Puddle provides several reflection functions that can be used for obtaining compile-time meta-objects reflecting namespaces, types, classes, etc.
aux::wrap<MirrorMetaObject>::type puddle::adapt | ( | void | ) |
Wraps a Mirror's meta-object.
This function wraps a type conforming to one of the Mirror's concepts and returns an object whose type conforms to a Puddle's concept corresponding to the MirrorMetaObject
concept.
reflected<Type>::type puddle::reflected_type | ( | void | ) |
Reflects the Type passed as template parameter.
This function returns an object whose type conforms to the puddle::MetaType concept, which reflects the type passed to the function as the template parameter.
Type | the type to be reflected |