1
0
mirror of https://github.com/nlohmann/json synced 2024-11-25 05:10:05 +00:00

Merge branch 'develop' of https://github.com/nlohmann/json into diagnostics

This commit is contained in:
Niels Lohmann 2021-01-08 10:20:34 +01:00
commit 7cdf34b21e
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
7 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2013-2020 Niels Lohmann
Copyright (c) 2013-2021 Niels Lohmann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1198,11 +1198,11 @@ auto cbor = json::to_msgpack(j); // 0xD5 (fixext2), 0x10, 0xCA, 0xFE
## Supported compilers
Though it's 2020 already, the support for C++11 is still a bit sparse. Currently, the following compilers are known to work:
Though it's 2021 already, the support for C++11 is still a bit sparse. Currently, the following compilers are known to work:
- GCC 4.8 - 10.1 (and possibly later)
- Clang 3.4 - 10.0 (and possibly later)
- Apple Clang 9.1 - 12.0 (and possibly later)
- GCC 4.8 - 11.0 (and possibly later)
- Clang 3.4 - 11.0 (and possibly later)
- Apple Clang 9.1 - 12.3 (and possibly later)
- Intel C++ Compiler 17.0.2 (and possibly later)
- Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later)
- Microsoft Visual C++ 2017 / Build Tools 15.5.180.51428 (and possibly later)
@ -1270,7 +1270,7 @@ The following compilers are currently used in continuous integration at [Travis]
The class is licensed under the [MIT License](http://opensource.org/licenses/MIT):
Copyright © 2013-2019 [Niels Lohmann](http://nlohmann.me)
Copyright © 2013-2021 [Niels Lohmann](https://nlohmann.me)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -2,9 +2,9 @@
"compiler": {
"c++": "201103",
"family": "clang",
"version": "12.0.0 (clang-1200.0.22.19)"
"version": "12.0.0 (clang-1200.0.32.28)"
},
"copyright": "(C) 2013-2020 Niels Lohmann",
"copyright": "(C) 2013-2021 Niels Lohmann",
"name": "JSON for Modern C++",
"platform": "apple",
"url": "https://github.com/nlohmann/json",

View File

@ -327,7 +327,7 @@ Note that this table only lists those exceptions thrown due to the type. For ins
</tr>
</table>
@copyright Copyright &copy; 2013-2020 Niels Lohmann. The code is licensed under the [MIT License](http://opensource.org/licenses/MIT).
@copyright Copyright &copy; 2013-2021 Niels Lohmann. The code is licensed under the [MIT License](http://opensource.org/licenses/MIT).
@author [Niels Lohmann](http://nlohmann.me)
@see https://github.com/nlohmann/json to download the source code

View File

@ -351,7 +351,7 @@ class basic_json
{
basic_json result;
result["copyright"] = "(C) 2013-2020 Niels Lohmann";
result["copyright"] = "(C) 2013-2021 Niels Lohmann";
result["name"] = "JSON for Modern C++";
result["url"] = "https://github.com/nlohmann/json";
result["version"]["string"] =

View File

@ -16987,7 +16987,7 @@ class basic_json
{
basic_json result;
result["copyright"] = "(C) 2013-2020 Niels Lohmann";
result["copyright"] = "(C) 2013-2021 Niels Lohmann";
result["name"] = "JSON for Modern C++";
result["url"] = "https://github.com/nlohmann/json";
result["version"]["string"] =

View File

@ -39,7 +39,7 @@ TEST_CASE("version information")
json j = json::meta();
CHECK(j["name"] == "JSON for Modern C++");
CHECK(j["copyright"] == "(C) 2013-2020 Niels Lohmann");
CHECK(j["copyright"] == "(C) 2013-2021 Niels Lohmann");
CHECK(j["url"] == "https://github.com/nlohmann/json");
CHECK(j["version"] == json(
{