Luna::BasicString::assign

void assign(BasicString &&str)

Assigns the string data by moving characters from another string.

Parameters

  • in str

    The string to move data characters from. This string will be empty after this operation.