[#BloombergLP-bdlar-EnumRef-toInt]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/EnumRef.adoc[EnumRef]::toInt
:relfileprefix: ../../../
:mrdocs:

Load into the specified `result` the integer representation of the enumerator value held by this object&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;enumref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
toInt(int* result) const;
----


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