Namespaces
Variants
Views
Actions

C++ concepts: Destructible

From cppreference.com
< cpp‎ | concept
Revision as of 15:17, 2 November 2012 by P12bot (Talk | contribs)

 
 
 

Specifies that an instance of the type can be default constructed.

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]