...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::type_erasure::as_param — Metafunction that creates a param.
// In header: <boost/type_erasure/param.hpp> template<typename Any, typename T> struct as_param { // types typedef unspecified type; };
If T
is a (cv/reference qualified) placeholder, returns param<concept_of<Any>::type, T>, otherwise, returns T. This metafunction is intended to be used for function arguments in specializations of concept_interface.
See Also: