Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3895: Faulty output of tags by diagnostic_information() in G++ MinGW
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-03 15:38:39
#3895: Faulty output of tags by diagnostic_information() in G++ MinGW
-------------------------------------------------------+--------------------
Reporter: andrew mcardle <andrewmcardle1@â¦> | Owner: emildotchevski
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: exception
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
-------------------------------------------------------+--------------------
Comment(by andrew mcardle <andrewmcardle1@â¦>):
On closer inspection it seems to be due to the fact that typeid().name
returns a system specific name. To demonstrate this change tag_type_name()
to call the typeid() function and print to stdout:
{{{
template <class T>
inline
char const *
tag_type_name()
{
#ifdef BOOST_NO_TYPEID
return BOOST_CURRENT_FUNCTION;
#else
std::cout<<typeid(T*).name();
return typeid(T*).name();
#endif
}
}}}
If this counts as a bug or a feature, I am now unsure, however it does not
seem to be a problem with the library itself.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3895#comment:1> 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 : 2017-02-16 18:50:02 UTC