NAME

ACE_Reference_Pair - Defines a pair that only hold references.

SYNOPSIS

#include <ace/Pair_T.h>

template<class T1, class T2> class ACE_Reference_Pair { public: typedef T1 first_type; typedef T2 second_type; ACE_Reference_Pair (T1 &t1, T2 &t2); T1 &first (void) const; T2 &second (void) const; protected: T1 &first_; T2 &second_; };

DESCRIPTION

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

Traits.

typedef T1 first_type;

typedef T2 second_type;

Initialization and termination methods.

ACE_Reference_Pair (T1 &t1, T2 &t2);

T1 &first (void) const;

T2 &second (void) const;

AUTHOR

Irfan Pyarali irfan@cs.wustl.edu

LIBRARY

ace