BloombergLP::bdlar::EnumRef::EnumRef

Create an EnumRef object that type erases the supplied enumeration object.

Synopsis

Declared in <bdlar_enumref.h>

template<class t_ENUM>
explicit
EnumRef(t_ENUM& enumeration)
requires IsEnum<t_ENUM>::value;

Parameters

NameDescription
enumerationenumeration object to wrap