Defines a pair that only hold references. More...
#include <Pair_T.h>
Public Types | |
typedef T1 | first_type |
typedef T2 | second_type |
Public Member Functions | |
ACE_Reference_Pair (T1 &t1, T2 &t2) | |
Constructor. | |
T1 & | first (void) const |
Access first. | |
T2 & | second (void) const |
Access second. | |
bool | operator== (const ACE_Reference_Pair< T1, T2 > &rhs) const |
Protected Attributes | |
T1 & | first_ |
First. | |
T2 & | second_ |
Second. |
Defines a pair that only hold references.
Similar to the STL pair (but restricted to holding references and not copies).
typedef T1 ACE_Reference_Pair< T1, T2 >::first_type |
typedef T2 ACE_Reference_Pair< T1, T2 >::second_type |
ACE_Reference_Pair< T1, T2 >::ACE_Reference_Pair | ( | T1 & | t1, |
T2 & | t2 | ||
) |
Constructor.
T1 & ACE_Reference_Pair< T1, T2 >::first | ( | void | ) | const |
Access first.
bool ACE_Reference_Pair< T1, T2 >::operator== | ( | const ACE_Reference_Pair< T1, T2 > & | rhs ) | const |
T2 & ACE_Reference_Pair< T1, T2 >::second | ( | void | ) | const |
Access second.
T1& ACE_Reference_Pair< T1, T2 >::first_ [protected] |
First.
T2& ACE_Reference_Pair< T1, T2 >::second_ [protected] |
Second.