``` #include <typeinfo> namespace boost { namespace core { template <typename Type> inline std::string nameof() { return demangle(typeid(Type).name()); } } // core } // boost ``` This saves a lot of manual fiddling around. thx Gero