🔨 working on #367
Test cases succeed as expected, but the example in #367 is not fully realized yet.
This commit is contained in:
parent
962da00171
commit
2afbd33472
2 changed files with 54 additions and 4 deletions
|
|
@ -7618,7 +7618,7 @@ class basic_json
|
|||
JSON_DEPRECATED
|
||||
friend std::istream& operator<<(basic_json& j, std::istream& i)
|
||||
{
|
||||
j = parser(input_adapter::create(i)).parse(true);
|
||||
j = parser(input_adapter::create(i)).parse(false);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
|
@ -7650,7 +7650,7 @@ class basic_json
|
|||
*/
|
||||
friend std::istream& operator>>(std::istream& i, basic_json& j)
|
||||
{
|
||||
j = parser(input_adapter::create(i)).parse(true);
|
||||
j = parser(input_adapter::create(i)).parse(false);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue