Boost.Type
#include <iostream> #include <[]boost[]/mpl/identity.hpp> #include <boost/mpl/for_each.hpp> #include <boost/mpl/vector.hpp> #include <boost/type.hpp>namespace pst { namespace mpl = boost::mpl; struct my_print_type { // mpl-style template <typename T> void operator()(mpl::identity<T>) const { std::co…</t></typename></boost/type.hpp></boost/mpl/vector.hpp></boost/mpl/for_each.hpp></iostream>