[Boost-bugs] [Boost C++ Libraries] #13621: ctti_type_index missing first letter in generated class name

Subject: [Boost-bugs] [Boost C++ Libraries] #13621: ctti_type_index missing first letter in generated class name
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-28 11:50:18


#13621: ctti_type_index missing first letter in generated class name
----------------------------------+-----------------------------
 Reporter: rponczkowski@… | Owner: Antony Polukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_index
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: ctti_tye_index c++14 |
----------------------------------+-----------------------------
 Code:

 {{{
 #include <iostream>

 #include <boost/type_index/ctti_type_index.hpp>

 class empty
 {
 };

 int main()
 {
     std::cout <<
 boost::typeindex::ctti_type_index::type_id<empty>().pretty_name() <<
 std::endl;
 }
 }}}

 prints: "mpty" instead of expected: 'empty'.
 Problem occurs on gcc version 7.3.1 20180303 when compiled with flag
 -std=c++14 or c++17.
 It works ok when compiling with -std=c++11

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13621>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-06-28 11:56:32 UTC