mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
improved documentation
This commit is contained in:
@ -21,8 +21,8 @@ int main()
|
||||
std::cout << j_number_integer.front() << '\n';
|
||||
std::cout << j_number_float.front() << '\n';
|
||||
std::cout << j_object.front() << '\n';
|
||||
//std::cout << j_object_empty.front() << '\n'; // would throw
|
||||
//std::cout << j_object_empty.front() << '\n'; // undefined behavior
|
||||
std::cout << j_array.front() << '\n';
|
||||
//std::cout << j_array_empty.front() << '\n'; // would throw
|
||||
//std::cout << j_array_empty.front() << '\n'; // undefined behavior
|
||||
std::cout << j_string.front() << '\n';
|
||||
}
|
||||
|
Reference in New Issue
Block a user