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 constructible



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

template<typename Sig> 
struct constructible {


The constructible concept enables calling the constructor of a type contained by an any. Sig should be a function signature. The return type is the placeholder specifying the type to be constructed. The arguments are the argument types of the constructor. The arguments of Sig may be placeholders.

[Note] Note

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