std::experimental::unique_resource<R, D>:: ~unique_resource
From cppreference.net
<
cpp
|
experimental
|
unique resource
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
std::experimental::unique_resource
| Member functions | ||||
|
unique_resource::~unique_resource
|
||||
| Modifiers | ||||
| Observers | ||||
| Non-member functions | ||||
| Deduction guides |
|
~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
|
disposes or replaces the managed resource
(public member function) |
|
|
destructs the managed object if such is present
(public member function of
std::unique_ptr<T,Deleter>
)
|