40296.cc
954 Bytes
-
re PR libstdc++/40296 ([C++0x] std::exception_ptr comparisons) · 110a123a
2009-06-03 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/40296 * libsupc++/exception_ptr.h (exception_ptr::operator!, exception_ptr::operator __safe_bool): Only declare when _GLIBCXX_EH_PTR_COMPAT is undefined. * libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including exception_ptr. * testsuite/18_support/exception_ptr/40296.cc: New. * testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust. * testsuite/18_support/nested_exception/cons.cc: Likewise. * testsuite/18_support/nested_exception/nested_ptr.cc: Likewise. * testsuite/18_support/exception_ptr/current_exception.cc: Likewise. From-SVN: r148122
Paolo Carlini committed