[#BloombergLP-bdlat_ChoiceFunctions-bdlat_choiceAccessSelection]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat&lowbar;ChoiceFunctions]::bdlat&lowbar;choiceAccessSelection
:relfileprefix: ../../
:mrdocs:

Default customization&hyphen;point implementation of `accessSelection`&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;choicefunctions&period;h&gt;`

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

== Return Value

result of invoking `accessor`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| choice object whose selection is accessed
| *accessor*
| functor applied to the active selection
|===


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