return m_deleter; | return m_deleter; | ||||
} | } | ||||
Deleter& get_deleter() noexcept | |||||
{ | |||||
return m_deleter; | |||||
} | |||||
unique_resource_t& operator=(unique_resource_t&& other) noexcept | unique_resource_t& operator=(unique_resource_t&& other) noexcept | ||||
{ | { |
guard.get_deleter()(6); | guard.get_deleter()(6); | ||||
REQUIRE(value == 6); | REQUIRE(value == 6); | ||||
} | } | ||||