parseDouble overloads
Synopses
Declared in <bdlb_numericparseutil.h>
Parse a double from the leading characters of a string.
static
int
parseDouble(
double* result,
std::string_view const& inputString);
Parse a double from a string, also returning the unparsed suffix.
static
int
parseDouble(
double* result,
std::string_view* remainder,
std::string_view const& inputString);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
result |
location to store the parsed value |
inputString |
text to parse |
remainder |
unparsed suffix of |
Created with MrDocs