exception_ptr.h needs the forward declaration because it's included from...
authorJeffrey Yasskin <jyasskin@google.com>
Thu, 31 Mar 2011 23:56:01 +0000 (23:56 +0000)
committerJeffrey Yasskin <jyasskin@gcc.gnu.org>
Thu, 31 Mar 2011 23:56:01 +0000 (23:56 +0000)
commit3c16cf85177836abb4a771683fe30c3ee7e3d432
tree000d1fbf8ce26642660a4c5617c8144abd8998f4
parent654d2ec080bc55454cd5fb8c74277be760de9c7c
exception_ptr.h needs the forward declaration because it's included from...

exception_ptr.h needs the forward declaration because it's
included from <typeinfo> before <typeinfo> defines std::type_info.

Tested:
  bootstrap + make check-c++ on x86_64.

libstdc++-v3/ChangeLog:

2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>

* libsupc++/exception_ptr.h: Forward-declare std::type_info.
* libsupc++/nested_exception.h (__throw_with_nested): Remove a
redundant default argument from std::__throw_with_nested.

From-SVN: r171807
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception_ptr.h
libstdc++-v3/libsupc++/nested_exception.h