Constructors

Synopses

Declared in <bdlar_enumref.h>

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

EnumRef(
    void* objectAddress,
    EnumVtable const* vtable);

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

template<class t_ENUM>
explicit
EnumRef(
    t_ENUM& enumeration,
    void* = 0)
requires IsEnum<t_ENUM>::value;

Created with MrDocs