[#BloombergLP-bdlar-SimpleTypeConstRef-access-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SimpleTypeConstRef.adoc[SimpleTypeConstRef]::access :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the value held by this object with the specified `info`. == Synopsis Declared in `<bdlar_simpletyperef.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_ACCESSOR, class t_INFO> int access( t_ACCESSOR& accessor, t_INFO const& info) const; ---- == Description The supplied `accessor` must be an object callable with a value of any simple type as if it had the following signature: ` int accessor(const VALUE& value, const t_INFO& info); ` Return the value from the invocation of `accessor`. == Return Value value from the invocation of `accessor` == Parameters [cols="1,4"] |=== | Name| Description | *accessor* | callable invoked on the held value | *info* | additional information passed to `accessor` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#