[#BloombergLP-bdlar-SimpleTypeRef-access-0a5] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SimpleTypeRef.adoc[SimpleTypeRef]::access :relfileprefix: ../../../ :mrdocs: `access` overloads == Synopses Declared in `<bdlar_simpletyperef.h>` Invoke the specified `accessor` on the value held by this object. 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); ` Return the value from the invocation of `accessor`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int xref:BloombergLP/bdlar/SimpleTypeRef/access-01.adoc[access](t_ACCESSOR& accessor) const; ---- [.small]#xref:BloombergLP/bdlar/SimpleTypeRef/access-01.adoc[_» more..._]# Invoke the specified `accessor` on the value held by this object supplying `accessor` with the specified `info` object. 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_ACCESSOR, class t_INFO> int xref:BloombergLP/bdlar/SimpleTypeRef/access-0aa.adoc[access]( t_ACCESSOR& accessor, t_INFO const& info) const; ---- [.small]#xref:BloombergLP/bdlar/SimpleTypeRef/access-0aa.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#