ViennaCL - The Vienna Computing Library
1.5.2
|
A shared pointer class similar to boost::shared_ptr. Reimplemented in order to avoid a Boost-dependency. Will be replaced by std::shared_ptr as soon as C++11 is widely available. More...
#include <shared_ptr.hpp>
Public Member Functions | |
shared_ptr () | |
template<class U , class Deleter > | |
shared_ptr (U *pu, Deleter d) | |
template<class U > | |
shared_ptr (U *pu) | |
shared_ptr (const shared_ptr &s) | |
template<class U > | |
shared_ptr (const shared_ptr< U > &s) | |
~shared_ptr () | |
void | reset () |
void | reset (T *ptr) |
void | swap (shared_ptr< T > &other) |
shared_ptr & | operator= (const shared_ptr &s) |
T * | get () const |
T * | operator-> () const |
T & | operator* () const |
void | inc () |
void | dec () |
Friends | |
template<class U > | |
class | shared_ptr |
A shared pointer class similar to boost::shared_ptr. Reimplemented in order to avoid a Boost-dependency. Will be replaced by std::shared_ptr as soon as C++11 is widely available.
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |