Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::type_erasure::destructible< T > Struct Template Reference

The destructible concept enables forwarding to the destructor of the contained type. More...

#include <builtin.hpp>

Public Types

typedef void(* type )(detail::storage &)
 INTERNAL ONLY. More...
 

Static Public Member Functions

static void value (detail::storage &arg)
 INTERNAL ONLY. More...
 
static void apply (detail::storage &arg)
 INTERNAL ONLY. More...
 

Detailed Description

template<class T = _self>
struct boost::type_erasure::destructible< T >

The destructible concept enables forwarding to the destructor of the contained type.

This is required whenever an any is created by value.

Note
The destructible concept rarely needs to be specified explicitly, because it is included in the copy_constructible concept.
destructible may not be specialized and may not be passed to as it depends on the implementation details of any.

Member Typedef Documentation

template<class T = _self>
typedef void(* boost::type_erasure::destructible< T >::type)(detail::storage &)

INTERNAL ONLY.

Member Function Documentation

template<class T = _self>
static void boost::type_erasure::destructible< T >::apply ( detail::storage &  arg)
inlinestatic

INTERNAL ONLY.

References T.

template<class T = _self>
static void boost::type_erasure::destructible< T >::value ( detail::storage &  arg)
inlinestatic

INTERNAL ONLY.

References T.


The documentation for this struct was generated from the following files: