cpp/string/basic string/front

Returns reference to the first character in the string. The behavior is undefined if empty is.

Parameters
(none)

Return value
Reference to the first character, equivalent to.

Complexity
Constant.