[#BloombergLP-bdlar-SimpleTypeConstRef-access-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SimpleTypeConstRef.adoc[SimpleTypeConstRef]::access :relfileprefix: ../../../ :mrdocs: `access` overloads == Synopses Declared in `<bdlar_simpletyperef.h>` Invoke the specified `accessor` on the value held by this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int xref:BloombergLP/bdlar/SimpleTypeConstRef/access-06.adoc[access](t_ACCESSOR& accessor) const; ---- [.small]#xref:BloombergLP/bdlar/SimpleTypeConstRef/access-06.adoc[_» more..._]# Invoke the specified `accessor` on the value held by this object with the specified `info`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_ACCESSOR, class t_INFO> int xref:BloombergLP/bdlar/SimpleTypeConstRef/access-0e.adoc[access]( t_ACCESSOR& accessor, t_INFO const& info) const; ---- [.small]#xref:BloombergLP/bdlar/SimpleTypeConstRef/access-0e.adoc[_» more..._]# == 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]#