llvm-mos-sdk
Public Types | Public Member Functions | Public Attributes | List of all members
std::pair< T1, T2 > Struct Template Reference

Public Types

using first_type = T1
 
using second_type = T2
 

Public Member Functions

 pair (const pair &p)=default
 
 pair (pair &&p)=default
 
constexpr pair (const T1 &x, const T2 &y)
 
template<class U1 = T1, class U2 = T2>
constexpr pair (U1 &&x, U2 &&y)
 
template<class U1 , class U2 >
constexpr pairoperator= (const pair< U1, U2 > &p)
 
template<class U1 , class U2 >
constexpr pairoperator= (pair< U1, U2 > &&p)
 

Public Attributes

T1 first
 
T2 second
 

Member Typedef Documentation

◆ first_type

template<class T1 , class T2 >
using std::pair< T1, T2 >::first_type = T1

◆ second_type

template<class T1 , class T2 >
using std::pair< T1, T2 >::second_type = T2

Constructor & Destructor Documentation

◆ pair() [1/4]

template<class T1 , class T2 >
std::pair< T1, T2 >::pair ( const pair< T1, T2 > &  p)
default

◆ pair() [2/4]

template<class T1 , class T2 >
std::pair< T1, T2 >::pair ( pair< T1, T2 > &&  p)
default

◆ pair() [3/4]

template<class T1 , class T2 >
constexpr std::pair< T1, T2 >::pair ( const T1 &  x,
const T2 &  y 
)
inlineconstexpr

◆ pair() [4/4]

template<class T1 , class T2 >
template<class U1 = T1, class U2 = T2>
constexpr std::pair< T1, T2 >::pair ( U1 &&  x,
U2 &&  y 
)
inlineconstexpr

Member Function Documentation

◆ operator=() [1/2]

template<class T1 , class T2 >
template<class U1 , class U2 >
constexpr pair& std::pair< T1, T2 >::operator= ( const pair< U1, U2 > &  p)
inlineconstexpr

◆ operator=() [2/2]

template<class T1 , class T2 >
template<class U1 , class U2 >
constexpr pair& std::pair< T1, T2 >::operator= ( pair< U1, U2 > &&  p)
inlineconstexpr

Member Data Documentation

◆ first

template<class T1 , class T2 >
T1 std::pair< T1, T2 >::first

◆ second

template<class T1 , class T2 >
T2 std::pair< T1, T2 >::second

The documentation for this struct was generated from the following file: