Luna::Variant::operator=

Variant & operator=(const Name &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.