Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

C++

Compiler

gcc 4.9.2

Options
Boost 1.64.0
C++11
no pedantic
Raw compiler options
-I.

Author

anonymous

over 7 years ago

nlohmann/json.hpp

$ g++ prog.cc -I/opt/wandbox/boost-1.64.0/gcc-4.9.2/include -std=c++11 -I.
null
should be nonempty: {"k":{"a":"b"}}
{}: {}

should be nonempty: {"k":{"a":"b"}}
empty_map: {"k":{"a":"b"}}

should be nonempty: {"k":{"a":"b"}}
json::object(): {"k":{"a":"b"}}

should be nonempty: {"k":{"a":"b"}}
json({}): {"k":{"a":"b"}}

should be nonempty: {"k":{"a":"b"}}
json::array(): {"k":[]}

Exit Code:
0