[Global]: loading init
This commit is contained in:
11
deps/json/docs/examples/default_object_comparator_t.cpp
vendored
Normal file
11
deps/json/docs/examples/default_object_comparator_t.cpp
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << std::boolalpha
|
||||
<< "one < two : " << json::default_object_comparator_t{}("one", "two") << "\n"
|
||||
<< "three < four : " << json::default_object_comparator_t{}("three", "four") << std::endl;
|
||||
}
|
Reference in New Issue
Block a user