Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Struct template destructible



// In header: <boost/type_erasure/builtin.hpp>

template<typename T = _self> 
struct destructible {


The destructible concept enables forwarding to the destructor of the contained type. This is required whenever an any is created by value.

[Note] Note

The destructible concept rarely needs to be specified explicitly, because it is included in the copy_constructible concept.

[Note] Note

destructible may not be specialized and may not be passed to call as it depends on the implementation details of any.