Public Types | Public Member Functions | Public Attributes | List of all members
ustl::pair< T1, T2 > Class Template Reference

Container for two values. More...

#include <ustl.h>

Public Types

typedef T1 first_type
 
typedef T2 second_type
 

Public Member Functions

constexpr pair (void)
 Default constructor.
 
 pair (const T1 &a, const T2 &b)
 Initializes members with a, and b.
 
template<typename T3 , typename T4 >
 pair (const pair< T3, T4 > &p2)
 
pairoperator= (const pair &p2)
 
template<typename T3 , typename T4 >
pairoperator= (const pair< T3, T4 > &p2)
 
bool operator== (const pair &v) const
 
bool operator< (const pair &v) const
 
void swap (pair &v)
 
 pair (const pair &)=default
 
 pair (pair &&)=default
 
template<typename T3 , typename T4 >
 pair (T3 &&a, T4 &&b)
 
template<typename T3 , typename T4 >
 pair (pair< T3, T4 > &&p2)
 
pairoperator= (pair &&p2)
 
template<typename T3 , typename T4 >
pairoperator= (pair< T3, T4 > &&p2)
 

Public Attributes

first_type first
 
second_type second
 

Detailed Description

template<typename T1, typename T2>
class ustl::pair< T1, T2 >

Container for two values.


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

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10