Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
aggregate_pair< T1, T2 > Struct Template Reference

#include <pair.hpp>

Public Types

typedef T1 first_type
typedef T2 second_type

Public Attributes

T1 first
T2 second

Friends

bool operator== (const aggregate_pair &x, const aggregate_pair &y)
bool operator< (const aggregate_pair &x, const aggregate_pair &y)
bool operator!= (const aggregate_pair &x, const aggregate_pair &y)
bool operator> (const aggregate_pair &x, const aggregate_pair &y)
bool operator<= (const aggregate_pair &x, const aggregate_pair &y)
bool operator>= (const aggregate_pair &x, const aggregate_pair &y)
void swap (aggregate_pair &x, aggregate_pair &y)

Detailed Description

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

Definition at line 36 of file pair.hpp.

Member Typedef Documentation

◆ first_type

template<typename T1, typename T2 = T1>
typedef T1 first_type

Definition at line 37 of file pair.hpp.

◆ second_type

template<typename T1, typename T2 = T1>
typedef T2 second_type

Definition at line 38 of file pair.hpp.

◆ operator==

template<typename T1, typename T2 = T1>
bool operator== ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 43 of file pair.hpp.

◆ operator<

template<typename T1, typename T2 = T1>
bool operator< ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 47 of file pair.hpp.

◆ operator!=

template<typename T1, typename T2 = T1>
bool operator!= ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 51 of file pair.hpp.

◆ operator>

template<typename T1, typename T2 = T1>
bool operator> ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 55 of file pair.hpp.

◆ operator<=

template<typename T1, typename T2 = T1>
bool operator<= ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 57 of file pair.hpp.

◆ operator>=

template<typename T1, typename T2 = T1>
bool operator>= ( const aggregate_pair< T1, T2 > & x,
const aggregate_pair< T1, T2 > & y )
friend

Definition at line 61 of file pair.hpp.

◆ swap

template<typename T1, typename T2 = T1>
void swap ( aggregate_pair< T1, T2 > & x,
aggregate_pair< T1, T2 > & y )
friend

Definition at line 65 of file pair.hpp.

Member Data Documentation

◆ first

template<typename T1, typename T2 = T1>
T1 first

Definition at line 40 of file pair.hpp.

◆ second

template<typename T1, typename T2 = T1>
T2 second

Definition at line 41 of file pair.hpp.