[#BloombergLP-bdlar-AccessorWithInfoRef]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::AccessorWithInfoRef
:relfileprefix: ../../
:mrdocs:

This class provides a type&hyphen;erased wrapper around an accessor functor that dispatches to the appropriate `bdlat` customization point based on the dynamic type category of the supplied value and field metadata&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;accessorref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class AccessorWithInfoRef;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/AccessorWithInfoRef/2constructor.adoc[`AccessorWithInfoRef`]         [.small]#[constructor]#
| Create an `AccessorWithInfoRef` object that type erases the specified `accessor`&period;
| xref:BloombergLP/bdlar/AccessorWithInfoRef/operator_call.adoc[`operator()`] 
| Invoke the specified `accessor` with the specified `value` and `info`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
