parse_numeric

Defined in header: <orcus/parser_global.hpp>

const char *orcus::parse_numeric(const char *p, const char *p_end, double &value)

Parse a sequence of characters into a double-precision numeric value.

Parameters:
  • p – pointer to the first character to start parsing from.

  • p_end – pointer to the first character not allowed to parse.

  • value – output parameter to assign the matched value to.

Returns:

pointer to the first non-matching character.