stlab.adobe.com Adobe Systems Incorporated

pair< T1, T2 > Struct Template Reference
[pair]

#include <pair.hpp>

List of all members.

Public Types

typedef T1 first_type
typedef T2 second_type

Public Member Functions

pairoperator= (pair x)
template<typename U1 , typename U2 >
 pair (const aggregate_pair< U1, U2 > &p)
template<typename U1 , typename U2 >
 pair (const std::pair< U1, U2 > &p)
template<typename U1 , typename U2 >
 pair (const pair< U1, U2 > &p)
 pair (T1 x, T2 y)
 pair ()
 pair (move_from< pair > x)

Public Attributes

T1 first
T2 second

Friends

bool operator< (const pair &x, const pair &y)
bool operator== (const pair &x, const pair &y)
void swap (pair &x, pair &y)

Detailed Description

template<typename T1, typename T2 = T1>
struct adobe::pair< T1, T2 >

Definition at line 72 of file pair.hpp.


Member Typedef Documentation

typedef T1 first_type

Definition at line 74 of file pair.hpp.

typedef T2 second_type

Definition at line 75 of file pair.hpp.


Constructor & Destructor Documentation

pair (  )

Definition at line 80 of file pair.hpp.

pair ( move_from< pair< T1, T2 > >  x )

Definition at line 82 of file pair.hpp.

pair ( T1  x,
T2  y 
)

Definition at line 86 of file pair.hpp.

pair ( const pair< U1, U2 > &  p )

Definition at line 89 of file pair.hpp.

pair ( const std::pair< U1, U2 > &  p )

Definition at line 92 of file pair.hpp.

pair ( const aggregate_pair< U1, U2 > &  p )

Definition at line 95 of file pair.hpp.


Member Function Documentation

pair& operator= ( pair< T1, T2 >  x )

Definition at line 84 of file pair.hpp.


Friends And Related Function Documentation

bool operator< ( const pair< T1, T2 > &  x,
const pair< T1, T2 > &  y 
) [friend]

Definition at line 100 of file pair.hpp.

bool operator== ( const pair< T1, T2 > &  x,
const pair< T1, T2 > &  y 
) [friend]

Definition at line 97 of file pair.hpp.

void swap ( pair< T1, T2 > &  x,
pair< T1, T2 > &  y 
) [friend]

Definition at line 103 of file pair.hpp.


Member Data Documentation

T1 first

Definition at line 77 of file pair.hpp.

T2 second

Definition at line 78 of file pair.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google