Luna::Variant::Variant

Variant(VariantType type=VariantType::null)

Initializes one empty variant with the specified variant type.

Parameters

  • in type

    The of the new variant. If not specified, one variant with VariantType::null will be constructed.