Itasca C++ Interface
|
Template specialization for void pointers; this should probably never be used, except to determine the size of VUserType for type_selector. More...
#include <variant.h>
Inherits Variant::UserTypeBase.
Public Member Functions | |
VUserType () | |
Default constructor. | |
VUserType (void *const t) | |
~VUserType () override | |
Destructor. | |
VUserType< void * > * | clone (char *data) const override |
in-place clone | |
void | copy (const UserTypeBase *base) override |
copy from base pointer, uses reinterpret_cast to upcast (careful!). | |
Static Public Member Functions | |
static bool | isValue () |
Checks if the user type holds the literal value of T, or a pointer to it. | |
Public Attributes | |
void * | t_ |
The actual value being stored. | |
Static Public Attributes | |
static int | typeNumber_ |
The typeNumber_ used to uniquely identify the type. | |
Template specialization for void pointers; this should probably never be used, except to determine the size of VUserType for type_selector.