Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added convenience overload to `detail::demangle`

  • Loading branch information...
commit 98998f93ee5771be9a7d03041036793133135ab0 1 parent 6de80e7
@Neverlord Neverlord authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 cppa/detail/demangle.hpp
View
5 cppa/detail/demangle.hpp
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.