std::basic_common_reference<std::pair>
From cppreference.com
 
 
 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Utilities library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
  
 
 
 Type support (basic types, RTTI)
 Library feature-test macros (C++20)
(C++11)
(C++20)
(C++26)
(C++20)
 Coroutine support (C++20)
 Contract support (C++26)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
  (C++20)(C++20)(C++20)
  (C++20)(C++20)(C++20)
 General utilities
 Relational operators (deprecated in C++20)
(C++20)(C++20)(C++20)
  (C++20)(C++20)(C++20)
(C++20)
 Swap and type operations 
 Common vocabulary types
std::pair 
 
 
 
 
 
 
 
 
 
 
(C++11)
(until C++20)(until C++20)(until C++20)(until C++20)(until C++20)(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
basic_common_reference<std::pair>
(C++23)
(C++23)
(C++23)
(C++11)
 Deduction guides (C++17)
Defined in header 
 
 
<utility> 
 template< class T1, class T2, class U1, class U2,
 
 (since C++23) 
          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>>>; }
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
 Member type
 Definition
type
 std::pair <std::common_reference_t <TQual<T1>, UQual<U1>>,          std::common_reference_t <TQual<T2>, UQual<U2>>>
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example
[edit] See also
 
 determines the common reference type of a 
(class template specialization) [edit]
tuple and a tuple-like type (class template specialization) [edit]