Difference between revisions of "cpp/memory/unique ptr/get deleter"
From cppreference.com
< cpp | memory | unique ptr
(fmt) |
m (Text replace - "{{example cpp" to "{{example") |
||
Line 22: | Line 22: | ||
===Example=== | ===Example=== | ||
− | {{example | + | {{example | |
| code= | | code= | ||
| output= | | output= | ||
}} | }} |
Revision as of 17:03, 19 April 2012
Template:cpp/memory/unique ptr/sidebar Template:ddcl list begin <tr class="t-dcl ">
<td > Deleter& get_deleter();
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">
<td >const Deleter& get_deleter() const;
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end
Returns the deleter object which would be used for destruction of the managed object.
Contents |
Parameters
(none)
Return value
The stored deleter object.
Exceptions
noexcept specification:
noexcept
Example
This section is incomplete Reason: no example |