Template Struct UniqueResource::Wrap#

Nested Relationships#

This struct is a nested type of Template Class UniqueResource.

Struct Documentation#

template<typename T>
struct Wrap#

Public Functions

template<typename U>
constexpr Wrap(U&&) noexcept(std::is_nothrow_constructible_v<T, U>)#
template<typename U, typename Deleter2>
inline constexpr Wrap(U &&r, Deleter2 &&d) noexcept(std::is_nothrow_constructible_v<T, U>)#
constexpr Wrap() = default#
constexpr ~Wrap() = default#
constexpr Wrap(Wrap&&) = default#
inline constexpr Wrap(Wrap &&rhs) noexcept(std::is_nothrow_constructible_v<T, T&>)
consteval Wrap(const Wrap&) noexcept = delete#
constexpr Wrap &operator=(const Wrap&) = default#
constexpr Wrap &operator=(Wrap&&) = default#
inline constexpr T &Get() noexcept#
inline constexpr const T &Get() const noexcept#

Public Members

T m_resource = {}#