template<typename T> class GradSoft::safe_auto_ptr

safe_auto_ptr: safe auto_ptr; requirements for T type are the same, as in auto_ptr template

Inheritance:


Public Methods

[more]explicit safe_auto_ptr(T* p = 0) throw()
[more] safe_auto_ptr(safe_auto_ptr& x) throw()
[more] safe_auto_ptr(std::auto_ptr<T>& x) throw()
[more]safe_auto_ptr& operator=(safe_auto_ptr& x) throw()
[more]safe_auto_ptr& operator=(std::auto_ptr<T>& x) throw()
[more] ~safe_auto_ptr() throw()
[more]T* operator->() const throw(NullPointerException)
[more]T& operator*() const throw(NullPointerException)
[more]T* get() const throw()
[more]T* call_get() const throw(NullPointerException)
[more]T* release() throw()

Public Members

[more]typedef T element_type


Documentation

safe_auto_ptr: safe auto_ptr; requirements for T type are the same, as in auto_ptr template
otypedef T element_type

oexplicit safe_auto_ptr(T* p = 0) throw()

o safe_auto_ptr(safe_auto_ptr& x) throw()

o safe_auto_ptr(std::auto_ptr<T>& x) throw()

osafe_auto_ptr& operator=(safe_auto_ptr& x) throw()

osafe_auto_ptr& operator=(std::auto_ptr<T>& x) throw()

o ~safe_auto_ptr() throw()

oT* operator->() const throw(NullPointerException)

oT& operator*() const throw(NullPointerException)

oT* get() const throw()

oT* call_get() const throw(NullPointerException)

oT* release() throw()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.