[SVN r68793]
This commit is contained in:
Emil Dotchevski
2011-02-11 23:46:38 +00:00
parent d1065c8a13
commit 08f65cca73
5 changed files with 7220 additions and 7206 deletions

File diff suppressed because it is too large Load Diff

View File

@ -53,11 +53,11 @@ boost
struct struct
type_info_ type_info_
{ {
detail::sp_typeinfo const & type_; detail::sp_typeinfo const * type_;
explicit explicit
type_info_( detail::sp_typeinfo const & type ): type_info_( detail::sp_typeinfo const & type ):
type_(type) type_(&type)
{ {
} }
@ -65,7 +65,7 @@ boost
bool bool
operator<( type_info_ const & a, type_info_ const & b ) operator<( type_info_ const & a, type_info_ const & b )
{ {
return 0!=(a.type_.before(b.type_)); return 0!=(a.type_->before(*b.type_));
} }
}; };
} }

View File

@ -137,7 +137,7 @@ boost
} }
#ifndef BOOST_NO_RTTI #ifndef BOOST_NO_RTTI
tmp << std::string("Dynamic exception type: ") << tmp << std::string("Dynamic exception type: ") <<
units::detail::demangle((be?BOOST_EXCEPTION_DYNAMIC_TYPEID(*be):BOOST_EXCEPTION_DYNAMIC_TYPEID(*se)).type_.name()) << '\n'; units::detail::demangle((be?(BOOST_EXCEPTION_DYNAMIC_TYPEID(*be)):(BOOST_EXCEPTION_DYNAMIC_TYPEID(*se))).type_->name()) << '\n';
#endif #endif
if( with_what && se ) if( with_what && se )
tmp << "std::exception::what: " << wh << '\n'; tmp << "std::exception::what: " << wh << '\n';

View File

@ -11,7 +11,6 @@ boost
{ {
namespace exception_detail { class clone_base; } namespace exception_detail { class clone_base; }
template <class Tag,class T> class error_info; template <class Tag,class T> class error_info;
template <class T> class shared_ptr;
class exception_ptr; class exception_ptr;
typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception; typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception;
} }

View File

@ -224,8 +224,7 @@ boost
#endif #endif
; ;
#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310) || \ #if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310)
defined(__BORLANDC__) // Tested at Embarcadero/CodeGear C++ version 6.21.
public: public:
#else #else
private: private: