diff --git a/toml/value.hpp b/toml/value.hpp index 74a5231..bc95ceb 100644 --- a/toml/value.hpp +++ b/toml/value.hpp @@ -1430,16 +1430,8 @@ inline bool operator!=(const basic_value& lhs, const basic_value class T, template class A> typename std::enable_if::boolean_type >, - detail::is_comparable::integer_type >, - detail::is_comparable::floating_type >, - detail::is_comparable::string_type >, - detail::is_comparable::local_time_type >, - detail::is_comparable::local_date_type >, - detail::is_comparable::local_datetime_type >, - detail::is_comparable::offset_datetime_type >, - detail::is_comparable::array_type >, - detail::is_comparable::table_type > + detail::is_comparable::array_type>, + detail::is_comparable::table_type> >::value, bool>::type operator<(const basic_value& lhs, const basic_value& rhs) { @@ -1519,16 +1511,8 @@ operator<(const basic_value& lhs, const basic_value& rhs) template class T, template class A> typename std::enable_if::boolean_type >, - detail::is_comparable::integer_type >, - detail::is_comparable::floating_type >, - detail::is_comparable::string_type >, - detail::is_comparable::local_time_type >, - detail::is_comparable::local_date_type >, - detail::is_comparable::local_datetime_type >, - detail::is_comparable::offset_datetime_type >, - detail::is_comparable::array_type >, - detail::is_comparable::table_type > + detail::is_comparable::array_type>, + detail::is_comparable::table_type> >::value, bool>::type operator<=(const basic_value& lhs, const basic_value& rhs) { @@ -1536,16 +1520,8 @@ operator<=(const basic_value& lhs, const basic_value& rhs) } template class T, template class A> typename std::enable_if::boolean_type >, - detail::is_comparable::integer_type >, - detail::is_comparable::floating_type >, - detail::is_comparable::string_type >, - detail::is_comparable::local_time_type >, - detail::is_comparable::local_date_type >, - detail::is_comparable::local_datetime_type >, - detail::is_comparable::offset_datetime_type >, - detail::is_comparable::array_type >, - detail::is_comparable::table_type > + detail::is_comparable::array_type>, + detail::is_comparable::table_type> >::value, bool>::type operator>(const basic_value& lhs, const basic_value& rhs) { @@ -1553,16 +1529,8 @@ operator>(const basic_value& lhs, const basic_value& rhs) } template class T, template class A> typename std::enable_if::boolean_type >, - detail::is_comparable::integer_type >, - detail::is_comparable::floating_type >, - detail::is_comparable::string_type >, - detail::is_comparable::local_time_type >, - detail::is_comparable::local_date_type >, - detail::is_comparable::local_datetime_type >, - detail::is_comparable::offset_datetime_type >, - detail::is_comparable::array_type >, - detail::is_comparable::table_type > + detail::is_comparable::array_type>, + detail::is_comparable::table_type> >::value, bool>::type operator>=(const basic_value& lhs, const basic_value& rhs) {