Merge pull request #630 from Chocobo1/doc_neq

fix typo in operator__notequal example
This commit is contained in:
Niels Lohmann 2017-06-21 18:54:18 +02:00 committed by GitHub
commit 5ee651c387

View File

@ -16,8 +16,8 @@ int main()
// output values and comparisons
std::cout << std::boolalpha;
std::cout << array_1 << " == " << array_2 << " " << (array_1 != array_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 << string_1 << " == " << string_2 << " " << (string_1 != string_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 << number_1 << " != " << number_2 << " " << (number_1 != number_2) << '\n';
std::cout << string_1 << " != " << string_2 << " " << (string_1 != string_2) << '\n';
}