Luna::Variant::operator=

Variant & operator=(const c8 *v)

Assigns one variant with one string. The variant type will be VariantType::string after this assignment.

Parameters

  • in v

    The string to set.

Return value

Returns *this.