aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2010-06-06 13:27:23 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2010-06-06 14:27:23 +0100
commitb4e77f9b76f4cafc0f3de2466de06c84e7102877 (patch)
treec4d14bcb974fd2b861009c6196a51f477ed8e805 /gcc/c-decl.c
parent346967d1cf5cf5f53a48aa8483365e3d1405ff2d (diff)
downloadgcc-b4e77f9b76f4cafc0f3de2466de06c84e7102877.zip
gcc-b4e77f9b76f4cafc0f3de2466de06c84e7102877.tar.gz
gcc-b4e77f9b76f4cafc0f3de2466de06c84e7102877.tar.bz2
re PR libstdc++/40296 ([C++0x] std::exception_ptr comparisons)
2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/40296 * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace __safe_bool constructor with nullptr_t constructor in C++0x mode. (exception_ptr::operator bool): Add explicit conversion to bool. (swap(exception_ptr&, exception_ptr&)): Add. (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI. * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move next to other functions retained for ABI compatibility. * testsuite/18_support/exception_ptr/requirements.cc: New. * testsuite/18_support/exception_ptr/requirements_neg.cc: New. From-SVN: r160340
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions