| 
    siplasplas
    
   A library for C++ reflection and introspection 
   | 
 
Stores static reflection information of a member object. More...
#include <siplasplas/reflection/static/field.hpp>
Public Types | |
| using | type = T Class::* | 
| Pointer to member type.  | |
| using | value_type = T | 
| Type of the member value.  | |
| using | class_type = Class | 
| Type of the class the member object belongs to.  | |
| using | decay_t = cpp::meta::decay_t< value_type > | 
| Type of the member value without cv nor reference qualifiers.  | |
| using | SourceInfo = SourceInfo_ | 
| Source information of the member object. See cpp::static_reflection::meta::SourceInfo.  | |
Static Public Member Functions | |
| static constexpr type | get () | 
| Returns a pointer to the member object.  | |
| static constexpr const decay_t & | get (const Class &object) | 
| Returns the value of the field in a given object.  More... | |
| static constexpr decay_t & | get (Class &object) | 
| Returns the value of the field in a given object.  More... | |
Stores static reflection information of a member object.
      
  | 
  inlinestatic | 
Returns the value of the field in a given object.
Equivalent to cpp::invoke(get(), object)
| object | Object to read the field value from | 
      
  | 
  inlinestatic | 
Returns the value of the field in a given object.
Equivalent to cpp::invoke(get(), object)
| object | Object to read the field value from |