Throw exception in parse_nonnegative_int if the number is too big.

This commit is contained in:
Victor Zverovich
2014-08-28 06:42:59 -07:00
parent 9646e38c3b
commit 526b7fc91d
4 changed files with 32 additions and 21 deletions
+1 -1
View File
@@ -883,7 +883,7 @@ private:
BasicWriter<Char> &writer_;
const Char *start_;
// Parses argument index and returns an argument with this index.
// Parses argument index and returns corresponding argument.
const internal::Arg &parse_arg_index(const Char *&s);
void check_sign(const Char *&s, const internal::Arg &arg);