Header file field.hpp

namespace cpp
{
    namespace static_reflection
    {
        namespace meta
        {
            template <typename SourceInfo_, typename Class, typename T, T Class::* field>
            class Field<SourceInfo_, T Class::*, field>;
        }
        
        namespace codegen
        {
            template <typename FieldType, FieldType field>
            class Field;
        }
        
        template <typename FieldType, FieldType field>
        class Field;
    }
}

Class template cpp::static_reflection::Field<FieldType, field>

template <typename FieldType, FieldType field>
class Field
: public codegen::Field<FieldType, field>
{};

Returns static reflection information of a given pointer to member object

See cpp::static_reflection::meta::Field for specific informatio about the returned information

Template parameter cpp::static_reflection::Field<FieldType, field>::FieldType

typename FieldType

Type of the pointer to member object, i.e.

T Class::*

Template parameter cpp::static_reflection::Field<FieldType, field>::field

FieldType field

Pointer to member object