|
meta
1.4.9
|
Meta conversion function object. More...
#include <meta.hpp>
Public Member Functions | |
| conv () noexcept | |
| Default constructor. | |
| meta::type | parent () const noexcept |
| Returns the meta type to which a meta conversion function belongs. More... | |
| meta::type | type () const noexcept |
| Returns the meta type of a given meta conversion function. More... | |
| any | convert (const void *instance) const noexcept |
| Converts an instance to a given type. More... | |
| operator bool () const noexcept | |
| Returns true if a meta object is valid, false otherwise. More... | |
| bool | operator== (const conv &other) const noexcept |
| Checks if two meta objects refer to the same node. More... | |
Friends | |
| template<typename > | |
| class | factory |
| A meta factory is allowed to create meta objects. | |
Meta conversion function object.
A meta conversion function is an opaque container for a conversion function to be used to convert a given instance to another type.
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
1.8.13