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

Synopsis

Declared in <bdlar_enumref.h>

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

Parameters

Name

Description

enumeration

enumeration object to wrap

Created with MrDocs