std::experimental::ranges::Relation - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::Relation

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

Defined in header `<experimental/ranges/concepts>` |  |
template <class R, class T> concept bool Relation() { return ranges::Predicate<R, T, T>(); } | (1) | (ranges TS)
template <class R, class T, class U> concept bool Relation() { return ranges::Relation<R, T>() && ranges::Relation<R, U>() && ranges::CommonReference<const T&, const U&>() && ranges::Relation<R, std::common_reference_t<const T&, const U&>>() && ranges::Predicate<R, T, U>() && ranges::Predicate<R, U, T>(); } | (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/Relation&oldid=89673"
Category:

- Todo with reason