+ more test cases

This commit is contained in:
Niels 2014-12-28 17:09:38 +01:00
parent 5b1f69ce5b
commit ea94518a64
3 changed files with 71 additions and 4 deletions

View file

@ -139,7 +139,7 @@ class JSON
~JSON() noexcept;
/// create from string representation
static JSON parse(std::string&);
static JSON parse(const std::string&);
/// create from string representation
static JSON parse(const char*);
@ -387,7 +387,7 @@ class JSON
/// a parser reading from a C string
Parser(const char*);
/// a parser reading from a C++ string
Parser(std::string&);
Parser(const std::string&);
/// a parser reading from an input stream
Parser(std::istream&);
/// destructor of the parser