Tools for creating non-owning shared pointers. More...
#include <boost/shared_ptr.hpp>
Include dependency graph for SmartPtr.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| cpputils | |
| Namespace comprising otherwise hard-to-classify generic utilities. | |
Functions | |
| template<typename T > | |
| const boost::shared_ptr< T > | cpputils::nonOwningSharedPtr (T *t) |
| Returns a “non-owning” shared pointer that doesn’t do anything on deletion. More... | |
| template<typename T > | |
| const boost::shared_ptr< const T > | cpputils::nonOwningConstSharedPtr (T *t) |
| Returns a “non-owning” shared pointer to const that doesn’t do anything on deletion. More... | |
| template<typename T > | |
| const boost::shared_ptr< T > | cpputils::sharedPointerize (boost::shared_ptr< T > t) |
| Part of a bundle of functions providing a unified interface to wrap objects into the shared-pointer interface, it simply returns its argument. More... | |
| template<typename T > | |
| const boost::shared_ptr< T > | cpputils::sharedPointerize (T &t) |
| Part of a bundle of functions providing a unified interface to wrap objects into the shared-pointer interface, it returns a non-owning shared pointer to its argument. | |
| template<typename T > | |
| const boost::shared_ptr< T > | cpputils::sharedPointerize (T *t) |
| Part of a bundle of functions providing a unified interface to wrap objects into the shared-pointer interface, it returns a non-owning shared pointer to its argument. | |
Tools for creating non-owning shared pointers.
Definition in file SmartPtr.h.