mirror of
https://github.com/nlohmann/json.git
synced 2024-11-24 23:09:02 +08:00
Merge pull request #630 from Chocobo1/doc_neq
fix typo in operator__notequal example
This commit is contained in:
commit
5ee651c387
@ -16,8 +16,8 @@ int main()
|
|||||||
|
|
||||||
// output values and comparisons
|
// output values and comparisons
|
||||||
std::cout << std::boolalpha;
|
std::cout << std::boolalpha;
|
||||||
std::cout << array_1 << " == " << array_2 << " " << (array_1 != array_2) << '\n';
|
std::cout << array_1 << " != " << array_2 << " " << (array_1 != array_2) << '\n';
|
||||||
std::cout << object_1 << " == " << object_2 << " " << (object_1 != object_2) << '\n';
|
std::cout << object_1 << " != " << object_2 << " " << (object_1 != object_2) << '\n';
|
||||||
std::cout << number_1 << " == " << number_2 << " " << (number_1 != number_2) << '\n';
|
std::cout << number_1 << " != " << number_2 << " " << (number_1 != number_2) << '\n';
|
||||||
std::cout << string_1 << " == " << string_2 << " " << (string_1 != string_2) << '\n';
|
std::cout << string_1 << " != " << string_2 << " " << (string_1 != string_2) << '\n';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user