|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/mem_unique_ptr.hxx>
Classes | |
| struct | UserDeleterInfo |
Public Member Functions | |
| UniquePtr () noexcept | |
| ~UniquePtr () noexcept | |
| UniquePtr (ice::Allocator *alloc, T *ptr) noexcept | |
| UniquePtr (ice::UniquePtrCustomDeleter< T > *deleter_fn, T *ptr) noexcept | |
| UniquePtr (UniquePtr &&other) noexcept | |
| template<typename U> requires std::is_base_of_v<T, U> | |
| UniquePtr (UniquePtr< U > &&other) noexcept | |
| auto | operator= (UniquePtr &&other) noexcept -> UniquePtr & |
| template<typename U> requires std::is_base_of_v<T, U> | |
| auto | operator= (UniquePtr< U > &&other) noexcept -> UniquePtr & |
| auto | operator= (std::nullptr_t) noexcept -> UniquePtr & |
| bool | operator== (std::nullptr_t) const noexcept |
| auto | operator-> () const noexcept -> T * |
| auto | operator* () const noexcept -> T & |
| auto | get () const noexcept -> T * |
| void | reset () noexcept |
Public Attributes | |
| Allocator * | _alloc |
| T * | _ptr |
| void * | _deleter |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| Allocator* ice::UniquePtr< T >::_alloc |
| void* ice::UniquePtr< T >::_deleter |
| T* ice::UniquePtr< T >::_ptr |