siplasplas
A library for C++ reflection and introspection
|
Returns static reflection information of a given class. More...
#include <siplasplas/reflection/static/class.hpp>
Inherits cpp::static_reflection::codegen::Class< T >.
Returns static reflection information of a given class.
This template returns (inherits) a cpp::static_reflection::meta::Class instance with the information of the given class type. If there's no static reflection information of this class in the current translation unit, returns an empty cpp::static_reflection::meta::Class instance (Default "unknown" source info, empty methods, ctors, enums, and classes lists, etc). The behavior is undefined if the given type is not a class type.
See cpp::static_reflection::meta::Class for the returned information.
T | Must be a class type. |