Namespaces
Variants
Views
Actions

C++ concepts: Destructible

From cppreference.com
< cpp‎ | concept
Revision as of 13:46, 27 February 2013 by 208.91.216.2 (Talk)

 
 
 

Specifies that an instance of the type can be destructed.

Requirements

The type must implement the following functions:

Type::~Type

Type::~Type() noexcept;

destructor: The destructor frees all resources owned by the object and it does not throw any exception.

See also

checks if a type has a non-deleted destructor
(class template) [edit]