parseUint64 overloads
Synopses
Declared in <bdlb_numericparseutil.h>
Parse a 64‐bit unsigned integer from the leading characters of a string.
static
int
parseUint64(
bsls::Types::Uint64* result,
std::string_view const& inputString,
int base = 10);
Parse a 64‐bit unsigned integer from a string, also returning the suffix.
static
int
parseUint64(
bsls::Types::Uint64* result,
std::string_view* remainder,
std::string_view const& inputString,
int base = 10);
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 |
base |
numeric base in |
remainder |
unparsed suffix of |
Created with MrDocs