[#BloombergLP-bdlar-AccessorRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::AccessorRef :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class AccessorRef; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlar/AccessorRef/2constructor.adoc[`AccessorRef`] [.small]#[constructor]# | Create an accessor reference that forwards invocations to the specified `accessor`. | xref:BloombergLP/bdlar/AccessorRef/operator_call.adoc[`operator()`] | Invoke the specified `accessor` on the supplied `value` by dispatching to the appropriate `bdlat` customization point. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#