Luna::BasicString::front

BasicString< _Char, _Alloc >::reference front()

Gets the first character of the string.

The first character is the character with index 0.

Return value

Returns one reference to the first character of the string.

Valid Usage

  • empty must be false when calling this function.