mirror of
https://github.com/nlohmann/json.git
synced 2026-03-12 12:11:25 +00: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