Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cppdom_boost Namespace Reference

namespace of the boost library. More...


Compounds

class  shared_ptr
 reference counting smart pointer. More...


Functions

template<typename T> void checked_delete (T *x)
template<typename T> void checked_array_delete (T *x)
template<typename T, typename U> bool operator== (const shared_ptr< T > &a, const shared_ptr< U > &b)
template<typename T, typename U> bool operator!= (const shared_ptr< T > &a, const shared_ptr< U > &b)
template<typename T> bool operator< (shared_ptr< T > const &a, shared_ptr< T > const &b)
template<typename T, typename U> shared_ptr< T > shared_dynamic_cast (shared_ptr< U > const &r)


Detailed Description

namespace of the boost library.

Function Documentation

template<typename T>
void checked_array_delete T *    x [inline]
 

Definition at line 76 of file shared_ptr.h.

00077     {
00078         delete [] x;
00079     }

template<typename T>
void checked_delete T *    x [inline]
 

Definition at line 70 of file shared_ptr.h.

Referenced by cppdom_boost::detail::shared_deleter< T >::del().

00071     {
00072         delete x;
00073     }

template<typename T, typename U>
bool operator!= const shared_ptr< T > &    a,
const shared_ptr< U > &    b
[inline]
 

Definition at line 239 of file shared_ptr.h.

References cppdom_boost::shared_ptr< T >::get().

00240     { return a.get() != b.get(); }

template<typename T>
bool operator< shared_ptr< T > const &    a,
shared_ptr< T > const &    b
[inline]
 

Definition at line 248 of file shared_ptr.h.

00250 {
00251    return std::less<T*>()(a.get(), b.get());
00252 }

template<typename T, typename U>
bool operator== const shared_ptr< T > &    a,
const shared_ptr< U > &    b
[inline]
 

Definition at line 235 of file shared_ptr.h.

References cppdom_boost::shared_ptr< T >::get().

00236     { return a.get() == b.get(); }

template<typename T, typename U>
shared_ptr<T> shared_dynamic_cast shared_ptr< U > const &    r
 

Definition at line 254 of file shared_ptr.h.

00255 {
00256    return shared_ptr<T>(r, detail::dynamic_cast_tag());
00257 }


Generated on Thu Jan 2 21:29:22 2003 for cppdom by doxygen1.2.15