cpp/string/basic string/stof

Interprets a floating point value in a string.

Let be an internal (to the conversion functions) pointer of type  (1,3,5) or  (2,4,6), accordingly.

@1@ Calls. @2@ Calls. @3@ Calls. @4@ Calls. @5@ Calls. @6@ Calls.

If is not a null pointer, then the pointer  will receive the address of the first unconverted character in, and the index of that character will be calculated and stored in , giving the number of characters that were processed by the conversion.

Return value
The string converted to the specified floating point type.

Exceptions
std if no conversion could be performed.

std if the converted value would fall out of the range of the result type or if the underlying function (, or ) sets errno to erange.