Luna::BasicString::at
BasicString< _Char, _Alloc >::reference at(usize n)
Gets the character at the specified index.
Parameters
-
in n
The index of the character.
Return value
Returns one reference to the character at the specified index.
Valid Usage
-
empty must be
falsewhen calling this function. -
nmust be in range [0,size()).