[#BloombergLP-bdlar-SimpleTypeConstRef-access-06] = 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. 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`. == Synopsis Declared in `<bdlar_simpletyperef.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int access(t_ACCESSOR& accessor) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#