cpp/string/char traits/length

Returns the length of the character sequence pointed to by, that is, the position of the terminating null character.

Return value
The length of character sequence pointed to by.

Exceptions
Throws nothing.

Complexity
Linear.