template<typename TypeT, class DeleteT = default_delete<TypeT>>
class fennec::unique_ptr< TypeT, DeleteT >
- Template Parameters
-
|
|
constexpr | unique_ptr () |
| | Default Constructor, creates a unique_ptr that owns nothing.
|
| |
|
constexpr | unique_ptr (nullptr_t) noexcept |
| | Nullptr Constructor, creates a unique_ptr that owns nothing.
|
| |
| constexpr | unique_ptr (pointer_t ptr, const delete_t &del=delete_t()) |
| | Pointer Constructor, creates a unique_ptr that owns ptr with deleter del
|
| |
| constexpr | unique_ptr (unique_ptr &&other) |
| | Move Constructor, transfers ownership from other
|
| |
|
constexpr | ~unique_ptr () |
| | Default Constructor, if it owns a resource, it deletes it using delete_t
|
| |