Classes | Macros | Functions
vbl_smart_ptr.h File Reference

Contains a templated smart pointer class. More...

#include <iosfwd>

Go to the source code of this file.

Classes

class  vbl_smart_ptr< T >
 A templated smart pointer class. More...
 

Macros

#define VBL_SMART_PTR_INSTANTIATE(T)   extern "please include vbl/vbl_smart_ptr.hxx instead"
 

Functions

template<class T >
bool operator== (T const *p, vbl_smart_ptr< T > const &a)
 Comparison of pointer with smart-pointer (cannot be a member function). More...
 
template<class T >
bool operator!= (T const *p, vbl_smart_ptr< T > const &a)
 
template<class T >
std::ostream & operator<< (std::ostream &, vbl_smart_ptr< T > const &)
 

Detailed Description

Contains a templated smart pointer class.

Author
Richard Hartley (original Macro version), William A. Hoffman (current templated version)
 Modifications
 2000.05.15 Francois BERTEL Added some missing <T>
 2000.05.16 Peter Vanroose  Operators > < >= <= made const
 2000.09.13 fsm      Added rationale for unprotect().
 PDA (Manchester) 23/03/2001: Tidied up the documentation
 Peter Vanroose   27/05/2001: Corrected the documentation
   Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line

Definition in file vbl_smart_ptr.h.

Macro Definition Documentation

◆ VBL_SMART_PTR_INSTANTIATE

#define VBL_SMART_PTR_INSTANTIATE (   T)    extern "please include vbl/vbl_smart_ptr.hxx instead"

Definition at line 218 of file vbl_smart_ptr.h.

Function Documentation

◆ operator!=()

template<class T >
bool operator!= ( T const *  p,
vbl_smart_ptr< T > const &  a 
)
inline

Definition at line 207 of file vbl_smart_ptr.h.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  ,
vbl_smart_ptr< T > const &   
)

Definition at line 32 of file vbl_smart_ptr.hxx.

◆ operator==()

template<class T >
bool operator== ( T const *  p,
vbl_smart_ptr< T > const &  a 
)
inline

Comparison of pointer with smart-pointer (cannot be a member function).

Definition at line 201 of file vbl_smart_ptr.h.