|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
An owning object handle that derives from unique_ptr that destroys an object using an ObjectDeallocator rather than std::default_delete when it goes out of scope. More...
#include <bond/systems/allocator.h>
Public Member Functions | |
| ObjectHandle (Allocator *allocator=nullptr, T *ptr=nullptr) | |
| ObjectHandle (Allocator &allocator, T *ptr=nullptr) | |
| ObjectHandle (ObjectHandle &&other) | |
| ObjectHandle & | operator= (ObjectHandle &&other) |
| template<typename U, typename Bond::enable_if< Bond::is_same< U, T >::value||Bond::has_virtual_destructor< U >::value, int >::type = 0> | |
| operator ObjectHandle< U > () && | |
An owning object handle that derives from unique_ptr that destroys an object using an ObjectDeallocator rather than std::default_delete when it goes out of scope.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |