Variant
constructor [Variant class]
You can construct a Variant
object with a parameter of an explict type to create a variant of that type.
// PROTOTYPES
Variant();
Variant(const std::monostate& val);
Variant(bool val);
Variant(int val);
Variant(unsigned val);
Variant(long val);
Variant(unsigned long val);
Variant(long val);
Variant(unsigned long val);
Variant(long long val);
Variant(unsigned long long val);
Variant(double val);
Variant(const char* val);
Variant(String val);
Variant(Buffer val)
Variant(VariantArray val);
Variant(VariantMap val);'