stlsoft/smartptr/shared_ptr.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::shared_ptr smart pointer class template (Smart Pointers Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/util/std_swap.hpp>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

class  shared_ptr
 This class enables sharing of arbitrary types. More...

Functions

template<typename T>
void swap (shared_ptr< T > &lhs, shared_ptr< T > &rhs)
template<typename T>
T * get_ptr (shared_ptr< T > const &p)
 get_ptr shim
template<typename S, typename T>
S & operator<< (S &s, shared_ptr< T > const &p)
 Insertion operator shim.


Generated on Thu Jun 10 08:58:10 2010 for STLSoft by  doxygen 1.5.6