Port to Boost.Core demangle() and typeinfo.

This commit is contained in:
Andrey Semashev
2014-06-11 22:02:59 +04:00
parent 8931eb2e0d
commit 5dea76a301
3 changed files with 11 additions and 42 deletions

View File

@ -22,7 +22,7 @@
#include <boost/exception/detail/type_info.hpp>
#include <boost/exception/detail/clone_current_exception.hpp>
#ifndef BOOST_NO_RTTI
#include <boost/exception/detail/type_info.hpp> // exception_detail::demangle()
#include <boost/core/demangle.hpp>
#endif
#include <boost/shared_ptr.hpp>
#include <stdexcept>
@ -92,7 +92,7 @@ boost
std::string
to_string( original_exception_type const & x )
{
return exception_detail::demangle(x.value()->name());
return core::demangle(x.value()->name());
}
#endif