Skip to content

LiteFX::UniquePtr

Represents a unique pointer, that expresses exclusive ownership.

Synopsis

Declared in <litefx/containers.hpp>

template<
    class T,
    class TDeleter = std::default_delete<T>>
using UniquePtr = std::unique_ptr<T, TDeleter>;

Template Parameters

NameDescription
TThe type of the object the pointer points to.
TDeleterThe deleter for the pointed object.