[#BloombergLP-bdlar-EnumRef-2constructor-0f0]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/EnumRef.adoc[EnumRef]::EnumRef
:relfileprefix: ../../../
:mrdocs:

Create an `EnumRef` object that type erases the supplied `enumeration` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ENUM&gt;
explicit
EnumRef(t&lowbar;ENUM& enumeration)
requires IsEnum&lt;t&lowbar;ENUM&gt;&colon;&colon;value;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *enumeration*
| enumeration object to wrap
|===


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