ACE  6.0.6
Public Types | Public Member Functions | Protected Attributes
ACE_Reference_Pair Class Reference

Defines a pair that only hold references. More...

#include <Pair_T.h>

List of all members.

Public Types

typedef T1 first_type
typedef T2 second_type

Public Member Functions

 ACE_Reference_Pair (T1 &t1, T2 &t2)
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_
T2 & second_

Detailed Description

Defines a pair that only hold references.

Similar to the STL pair (but restricted to holding references and not copies).

Member Typedef Documentation

Constructor & Destructor Documentation

ACE_Reference_Pair::ACE_Reference_Pair ( T1 &  t1,
T2 &  t2 
) [inline]


Member Function Documentation

T1 & ACE_Reference_Pair::first ( void  ) const [inline]

Access first.

bool ACE_Reference_Pair::operator== ( const ACE_Reference_Pair< T1, T2 > &  rhs) const [inline]
T2 & ACE_Reference_Pair::second ( void  ) const [inline]

Access second.

Member Data Documentation

T1& ACE_Reference_Pair::first_ [protected]


T2& ACE_Reference_Pair::second_ [protected]


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines