ASSA::AutoPtrRef< R > Class Template Reference

A wrapper class to provide AutoPtr with reference semantics. More...

#include <AutoPtr.h>

Collaboration diagram for ASSA::AutoPtrRef< R >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AutoPtrRef (R *p_)

Public Attributes

R * m_ptr

Detailed Description

template<typename R>
class ASSA::AutoPtrRef< R >

A wrapper class to provide AutoPtr with reference semantics.

An AutoPtr can be assigned (or constructed from) the result of a function which returns an AutoPtr by value (rvalue).

Definition at line 32 of file AutoPtr.h.


Constructor & Destructor Documentation

template<typename R>
ASSA::AutoPtrRef< R >::AutoPtrRef R *  p_  )  [inline, explicit]
 

Definition at line 34 of file AutoPtr.h.

00034 : m_ptr (p_) { /* no-op */ }


Member Data Documentation

template<typename R>
R* ASSA::AutoPtrRef< R >::m_ptr
 

Definition at line 36 of file AutoPtr.h.

Referenced by ASSA::AutoPtr< X >::operator=().


The documentation for this class was generated from the following file:
Generated on Sun Aug 13 15:08:18 2006 for libassa by  doxygen 1.4.6