[#BloombergLP-balb-SequenceWithAnonymityChoice2-accessSelection]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/SequenceWithAnonymityChoice2.adoc[SequenceWithAnonymityChoice2]::accessSelection
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `accessor` on the non&hyphen;modifiable selection, supplying `accessor` with the corresponding selection information structure&period; Return the value returned from the invocation of `accessor` if this object has a defined selection, and &hyphen;1 otherwise&period;

== Synopsis

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

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


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