Poster of Linux kernelThe best gift for a Linux geek
AutoPtrRef

AutoPtrRef

Section: C Library Functions (3) Updated: Thu Apr 7 2011
Local index Up
 

NAME

AutoPtrRef -  

SYNOPSIS


#include <auto_ptr.h>  

Public Member Functions


AutoPtrRef (Tp1 *p)
 

Public Attributes


Tp1 * _ptr
 

Detailed Description

 

template<typename Tp1> struct AutoPtrRef< Tp1 >

A wrapper class to provide AutoPtr with reference semantics. For example, an AutoPtr can be assigned (or constructed from) the result of a function which returns an AutoPtr by value.

All the AutoPtrRef stuff should happen behind the scenes.

Definition at line 59 of file auto_ptr.h.  

Constructor & Destructor Documentation

 

template<typename Tp1> AutoPtrRef< Tp1 >::AutoPtrRef (Tp1 *p) [inline, explicit]Constructor.

Definition at line 70 of file auto_ptr.h.

    : _ptr(p) {}
 

Member Data Documentation

 

template<typename Tp1> Tp1* AutoPtrRef< Tp1 >::_ptrThe actual pointer.

Definition at line 64 of file auto_ptr.h.

Referenced by AutoPtr< LinearSolver< Number > >::operator=().

 

Author

Generated automatically by Doxygen for libMesh from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Public Attributes
Detailed Description
template<typename Tp1> struct AutoPtrRef< Tp1 >
Constructor & Destructor Documentation
template<typename Tp1> AutoPtrRef< Tp1 >::AutoPtrRef (Tp1 *p) [inline, explicit]Constructor.
Member Data Documentation
template<typename Tp1> Tp1* AutoPtrRef< Tp1 >::_ptrThe actual pointer.
Author

This document was created by man2html, using the manual pages.
Time: 21:42:09 GMT, April 16, 2011