Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added convenience overload to detail::demangle
  • Loading branch information
Neverlord committed Feb 7, 2013
1 parent 6de80e7 commit 98998f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cppa/detail/demangle.hpp
Expand Up @@ -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

0 comments on commit 98998f9

Please sign in to comment.