cpp/string/char traits/to char type

Converts a value of to. If there are no equivalent value (such as when is a copy of the  value), the result is unspecified.

Formally, returns the value such that  is, and an unspecified value if no such  exists.

Return value
A value equivalent to.

Complexity
Constant.