|
libhatchet
|
Go to the source code of this file.
Classes | |
| class | hxptr< T, deleter_t_ > |
Functions | |
| template<typename T, hxsystem_allocator_t allocator_ = hxsystem_allocator_current, hxalignment_t align_ = hxalignment, typename... args_t_> | |
| hxptr< T > | hxmake_ptr (args_t_ &&... args_) noexcept |
A unique owning pointer.
|
noexcept |
hxmake_ptr<T, allocator, align>(args...) - Allocates and constructs an object of type T and returns it wrapped in an hxptr.
Equivalent to hxptr<T>(hxnew<T, allocator, align>(args...)). Will not return on failure.