cpp/string/basic string/at

Returns a reference to the character at specified location. Bounds checking is performed, exception of type std will be thrown on invalid access.

Return value
Reference to the requested character.

Exceptions
Throws std if.

Complexity
Constant.