Loading...
Searching...
No Matches
bbm::concepts::reflection::attributes Concept Reference

attribute reflection allows to enumerate and direct access to the attributes of a class. A class supports reflection if the following typedef and two methods are implemented: More...

#include <reflection.h>

Concept definition

template<typename T>
{
typename std::decay_t<T>::attribute_tuple_t;
{ t.attribute_tuple() };
{ std::as_const(t).attribute_tuple() };
}
attribute reflection allows to enumerate and direct access to the attributes of a class....
Definition: reflection.h:34

Detailed Description

attribute reflection allows to enumerate and direct access to the attributes of a class. A class supports reflection if the following typedef and two methods are implemented: