1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-07 18:02:57 +03:00

Deployed 6e36c721f with MkDocs version: 1.4.2

This commit is contained in:
Niels Lohmann
2023-09-23 17:28:29 +02:00
parent 55f10f44a9
commit 6a2266aff4
273 changed files with 663 additions and 697 deletions

View File

@@ -26,8 +26,8 @@ int main()
// deserialization
json j_rot = "rot";
auto rot = j_rot.get<ns::Color>();
auto red = j_red.get<ns::Color>();
auto rot = j_rot.template get<ns::Color>();
auto red = j_red.template get<ns::Color>();
std::cout << j_rot << " -> " << static_cast<int>(rot) << std::endl;
std::cout << j_red << " -> " << static_cast<int>(red) << std::endl;
}