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 > | |
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 |