Template Struct UniqueResource::Wrap< T & >#

Nested Relationships#

This struct is a nested type of Template Class UniqueResource.

Struct Documentation#

template<typename T>
struct Wrap<T&>#

Public Functions

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

Public Members

T *m_resourcePtr = nullptr#