Namespaces
Variants
Actions

std::experimental::unique_resource<R, D>::get_deleter

From cppreference.com
 
 
Experimental
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)
 
 
 
const D& get_deleter() const noexcept;
(library fundamentals TS v3)

Accesses the deleter object which would be used for disposing the managed resource.

[edit] Parameters

(none)

[edit] Return value

The stored deleter.

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

returns the deleter that is used for destruction of the managed object
(public member function of std::unique_ptr<T,Deleter>) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/unique_resource/get_deleter&oldid=115191"

AltStyle によって変換されたページ (->オリジナル) /