A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/unique.ptr.single.dtor below:

[unique.ptr.single.dtor]

23 General utilities library [utilities] 23.11 Smart pointers [smartptr] 23.11.1 Class template unique_­ptr [unique.ptr] 23.11.1.2 unique_­ptr for single objects [unique.ptr.single] 23.11.1.2.2 unique_­ptr destructor [unique.ptr.single.dtor]

~unique_ptr();

Requires: The expression get_­deleter()(get()) shall be well formed, shall have well-defined behavior, and shall not throw exceptions. [Note: The use of default_­delete requires T to be a complete type. end note]

Effects: If get() == nullptr there are no effects. Otherwise get_­deleter()(get()).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4