[#BloombergLP-bdlar-SimpleTypeRef-access-0aa]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SimpleTypeRef.adoc[SimpleTypeRef]::access
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `accessor` on the value held by this object supplying `accessor` with the specified `info` object&period; The supplied `accessor` must be an object callable with a value of any simple type as if it had the following signature&colon; &grave; int accessor(const VALUE&amp; value, const t&lowbar;INFO&amp; info)&semi; &grave; Return the value from the invocation of `accessor`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;ACCESSOR,
    class t&lowbar;INFO&gt;
int
access(
    t&lowbar;ACCESSOR& accessor,
    t&lowbar;INFO const& info) const;
----


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