folly::gen::ConstMemberFunction

Function object that calls a const member function of a class.

Synopsis

Declared in <folly/gen/Base.h>

template<
    class Class,
    class Result>
class ConstMemberFunction;

Type Aliases

NameDescription
MemberPtr Pointer-to-member type for the called const member function.

Member Functions

NameDescription
ConstMemberFunction [constructor]Constructs the accessor from a const member function pointer.
operator() Function call operators