Embedded Template Library  1.0
etl::pair< T1, T2 > Struct Template Reference

Public Types

typedef T1 first_type
 
typedef T2 second_type
 

Public Member Functions

ETL_CONSTEXPR pair ()
 Default constructor.
 
ETL_CONSTEXPR14 pair (const T1 &a, const T2 &b)
 Constructor from parameters.
 
template<typename U1 , typename U2 >
ETL_CONSTEXPR14 pair (const pair< U1, U2 > &other)
 Copy constructor.
 
 pair (const pair< T1, T2 > &other)
 Copy constructor.
 
template<typename U1 , typename U2 >
 operator std::pair< U1, U2 > ()
 Converting to std::pair.
 
template<typename U1 , typename U2 >
 pair (const std::pair< U1, U2 > &other)
 Constructing from std::pair.
 
void swap (pair< T1, T2 > &other)
 
pair< T1, T2 > & operator= (const pair< T1, T2 > &other)
 
template<typename U1 , typename U2 >
pair< U1, U2 > & operator= (const pair< U1, U2 > &other)
 

Public Attributes

T1 first
 
T2 second
 

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