Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/exception/diagnostic_information.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
14 | 14 |
15 #include <boost/config.hpp> | 15 #include <boost/config.hpp> |
16 #include <boost/exception/get_error_info.hpp> | 16 #include <boost/exception/get_error_info.hpp> |
17 #include <boost/exception/info.hpp> | 17 #include <boost/exception/info.hpp> |
18 #include <boost/utility/enable_if.hpp> | 18 #include <boost/utility/enable_if.hpp> |
19 //#ifndef BOOST_NO_RTTI | 19 #ifndef BOOST_NO_RTTI |
20 //#include <boost/units/detail/utility.hpp> | 20 #include <boost/core/demangle.hpp> |
21 //#endif | 21 #endif |
22 #include <exception> | 22 #include <exception> |
23 #include <sstream> | 23 #include <sstream> |
24 #include <string> | 24 #include <string> |
25 | 25 |
26 #ifndef BOOST_NO_EXCEPTIONS | 26 #ifndef BOOST_NO_EXCEPTIONS |
149 } | 149 } |
150 } | 150 } |
151 #ifndef BOOST_NO_RTTI | 151 #ifndef BOOST_NO_RTTI |
152 if ( verbose ) | 152 if ( verbose ) |
153 tmp << std::string("Dynamic exception type: ") << | 153 tmp << std::string("Dynamic exception type: ") << |
154 /*units::detail::demangle*/((be?(BOOST_EXCEPTION_DYNAMIC_TYPEID(*be)):(BOOST_EXCEPTION_DYNAMIC_TYPEID(*se))).type_->name()) << '\n'; | 154 core::demangle((be?(BOOST_EXCEPTION_DYNAMIC_TYPEID(*be)):(BOOST_EXCEPTION_DYNAMIC_TYPEID(*se))).type_->name()) << '\n'; |
155 #endif | 155 #endif |
156 if( with_what && se && verbose ) | 156 if( with_what && se && verbose ) |
157 tmp << "std::exception::what: " << wh << '\n'; | 157 tmp << "std::exception::what: " << wh << '\n'; |
158 if( be ) | 158 if( be ) |
159 if( char const * s=exception_detail::get_diagnostic_information(*be,tmp.str().c_str()) ) | 159 if( char const * s=exception_detail::get_diagnostic_information(*be,tmp.str().c_str()) ) |