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

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::CommonReference

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

Defined in header `<experimental/ranges/concepts>` |  |
template < class T, class U > concept bool CommonReference() { return requires(T (&t)(), U (&u)()) { typename std::common_reference_t<T, U>; typename std::common_reference_t<U, T>; requires ranges::Same<std::common_reference_t<T, U>, std::common_reference_t<U, T>>(); std::common_reference_t<T, U>(t()); std::common_reference_t<T, U>(u()); }; } |  | (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/CommonReference&oldid=90569"
Category:

- Todo with reason