Commit 98998f93 authored by Dominik Charousset's avatar Dominik Charousset

added convenience overload to `detail::demangle`

parent 6de80e7c
......@@ -39,6 +39,11 @@ namespace cppa { namespace detail {
std::string demangle(const char* typeid_name);
std::string demangle(const std::type_info& tinf);
template<typename T>
inline std::string demangle() {
return demangle(typeid(T));
}
} } // namespace cppa::detail
#endif // CPPA_DEMANGLE_HPP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment