• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Trivial test for core::demangled_name
3 //
4 // Copyright (c) 2014 Peter Dimov
5 //
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
9 //
10 
11 #include <boost/core/typeinfo.hpp>
12 #include <iostream>
13 
14 template<class T1, class T2> struct Y1
15 {
16 };
17 
main()18 int main()
19 {
20     typedef Y1<int, long> T;
21     std::cout << boost::core::demangled_name( BOOST_CORE_TYPEID( T ) );
22     return 0;
23 }
24