Fully support int64_t/uint64_t numbers, add unsigned type

This commit is contained in:
Trevor Welsby 2016-01-17 20:26:40 +10:00
parent 4ce2b93324
commit b40408a755
2 changed files with 4 additions and 4 deletions

View File

@ -534,7 +534,7 @@ class basic_json
*/
using number_integer_t = NumberIntegerType;
/*!
/*!
@brief a type for a number (unsigned)
[RFC 7159](http://rfc7159.net/rfc7159) describes numbers as follows:
@ -7498,7 +7498,7 @@ basic_json_parser_64:
*/
void get_number(basic_json& result) const
{
typename string_t::value_type* float_endptr, *endptr;
typename string_t::value_type* endptr;
assert(m_start != nullptr);
// Parse it as an integer

View File

@ -534,7 +534,7 @@ class basic_json
*/
using number_integer_t = NumberIntegerType;
/*!
/*!
@brief a type for a number (unsigned)
[RFC 7159](http://rfc7159.net/rfc7159) describes numbers as follows:
@ -7180,7 +7180,7 @@ class basic_json
*/
void get_number(basic_json& result) const
{
typename string_t::value_type* float_endptr, *endptr;
typename string_t::value_type* endptr;
assert(m_start != nullptr);
// Parse it as an integer