BloombergLP::bdlar::EnumConstRef::EnumConstRef

Constructors

Synopses

Declared in <bdlar_enumref.h>

Create an EnumConstRef object that wraps the same object as the specified object.

EnumConstRef(EnumRef const& object);
» more...

Create an EnumConstRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

EnumConstRef(
    void const* objectAddress,
    EnumConstVtable const* vtable);
» more...

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

template<class t_ENUM>
explicit
EnumConstRef(
    t_ENUM const& enumeration,
    void* = 0)
requires IsEnum<t_ENUM>::value;
» more...