##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::EqualityComparable

From cppreference.com
< cpp‎ | experimental‎ | ranges

Defined in header `<experimental/ranges/concepts>` |  |
template <class T> concept bool EqualityComparable() { return WeaklyEqualityComparable<T, T>(); } | (1) | (ranges TS)
template <class T, class U> concept bool EqualityComparable() { return ranges::CommonReference<const T&, const U&>() && ranges::EqualityComparable<T>() && ranges::EqualityComparable<U>() && ranges::EqualityComparable< std::remove_cv_t<std::remove_reference_t< std::common_reference_t<const T&, const U&>>>>() && ranges::WeaklyEqualityComparable<T, U>(); } | (2) | (ranges TS)

| This section is incomplete Reason: add description and extra caveats

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/ranges/concepts/EqualityComparable&oldid=89660"
Category:

- Todo with reason