folly::gen::Field

Function object that accesses a data member of a class.

Synopsis

Declared in <folly/gen/Base.h>

template<
    class Class,
    class FieldType>
class Field;

Type Aliases

NameDescription
FieldPtr Pointer-to-member type for the accessed field.

Member Functions

NameDescription
Field [constructor]Constructs a field accessor from a member pointer.
operator() Function call operators