other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| std::experimental::unique_resource::~unique_resource(3) | C++ Standard Libary | std::experimental::unique_resource::~unique_resource(3) |
NAME¶
std::experimental::unique_resource::~unique_resource - std::experimental::unique_resource::~unique_resource
Synopsis¶
~unique_resource(); (library fundamentals TS v3)
Disposes the resource by calling the deleter with the underlying resource handle if the unique_resource owns it, equivalent to calling reset(). Then destroys the stored resource handle and the deleter.
See also¶
reset disposes or replaces the managed resource
(public member function) destructor destructs the managed object if
such is present
(public member function of std::unique_ptr<T,Deleter>)
| 2026.11.10 | http://cppreference.com |