We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bce684 + 24ebd51 commit 8be6459Copy full SHA for 8be6459
include/rapidjson/document.h
@@ -1083,6 +1083,7 @@ class GenericValue {
1083
*/
1084
template <typename T> RAPIDJSON_DISABLEIF_RETURN((internal::IsGenericValue<T>), (bool)) operator!=(const T& rhs) const { return !(*this == rhs); }
1085
1086
+#ifndef __cpp_lib_three_way_comparison
1087
//! Equal-to operator with arbitrary types (symmetric version)
1088
/*! \return (rhs == lhs)
1089
@@ -1093,6 +1094,7 @@ class GenericValue {
1093
1094
1095
template <typename T> friend RAPIDJSON_DISABLEIF_RETURN((internal::IsGenericValue<T>), (bool)) operator!=(const T& lhs, const GenericValue& rhs) { return !(rhs == lhs); }
1096
//@}
1097
+#endif
1098
1099
//!@name Type
1100
//@{
0 commit comments