BloombergLP::bdlar::AccessorRef

This class provides a type-erased wrapper around an accessor functor that dispatches to the appropriate bdlat customization point based on the dynamic type category of the supplied value.

Synopsis

Declared in <bdlar_accessorref.h>

class AccessorRef;

Member Functions

NameDescription
AccessorRef [constructor]Create an accessor reference that forwards invocations to the specified accessor.
operator() Invoke the specified accessor on the supplied value by dispatching to the appropriate bdlat customization point.