Luna::BasicString::operator=

BasicString< _Char, _Alloc > & operator=(value_type ch)

Assigns the string with the specified character. This operation behaves the same as assign(1, ch).

Parameters

  • in ch

    The character to assign.

Return value

Returns *this.