2 // Trivial test for core::demangled_name
4 // Copyright (c) 2014 Peter Dimov
6 // Distributed under the Boost Software License, Version 1.0.
7 // See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt
11 #include <boost/core/typeinfo.hpp>
14 template<class T1, class T2> struct Y1
20 typedef Y1<int, long> T;
21 std::cout << boost::core::demangled_name( BOOST_CORE_TYPEID( T ) );