...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::placeholder_of
// In header: <boost/type_erasure/placeholder_of.hpp> template<typename T> struct placeholder_of { // types typedef unspecified type; };
A metafunction returning the (const/reference qualified) placeholder corresponding to an any. It will also work for all bases of any, so it can be applied to the Base
parameter of concept_interface.