A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../utility/pair/basic_common_reference.html below:

std::basic_common_reference<std::pair> - cppreference.com

template< class T1, class T2, class U1, class U2,

          template<class> class TQual, template<class> class UQual >
  requires requires { typename std::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
                                         std::common_reference_t<TQual<T2>, UQual<U2>>>; }

struct basic_common_reference<std::pair<T1, T2>, std::pair<U1, U2>, TQual, UQual>;
(since C++23)

The common reference type of two pairs is a pair of both common reference types of corresponding element types of both pairs, where the cv and reference qualifiers on the pairs are applied to their element types.

The common reference type is defined only if both pairs of corresponding element types have common reference types.

[edit] Member types [edit] Example [edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4