front overloads

Synopses

Declared in <bslstl_string.h>

Return a reference providing modifiable access to the character at the first position in this string. The behavior is undefined if this string is empty.

CHAR_TYPE&
front();

Return a reference providing non‐modifiable access to the character at the first position in this string. The behavior is undefined if this string is empty.

CHAR_TYPE const&
front() const;

Created with MrDocs