gcc/libstdc++-v3/include/std
Paolo Carlini 8535715d0f re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general)
2011-12-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/51438
	* libsupc++/nested_exception.h (nested_exception::~nested_exception):
	Declare noexcept.
	* libsupc++/nested_exception.cc: Adjust.
	* testsuite/18_support/nested_exception/51438.cc: New.
	* testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust.
	* testsuite/18_support/nested_exception/rethrow_if_nested.cc:
	Likewise.

	* src/shared_ptr.cc: Use noexcept where appropriate.
	* include/std/system_error: Likewise.
	* include/std/functional: Likewise.
	* include/bits/shared_ptr_base.h: Likewise.
	* src/stdexcept.cc: Use _GLIBCXX_USE_NOEXCEPT where appropriate.
	* include/std/stdexcept: Likewise.
	* libsupc++/bad_cast.cc: Likewise.
	* libsupc++/bad_typeid.cc: Likewise.
	* libsupc++/eh_exception.cc: Likewise.
	* libsupc++/typeinfo: Likewise.
	* libsupc++/exception: Likewise.
	* libsupc++/eh_ptr.cc: Likewise.
	* libsupc++/bad_alloc.cc: Likewise.
	* libsupc++/exception_ptr.h: Likewise.

	* include/std/chrono: Use noexcept where appropriate.
	* src/chrono.cc: Likewise.

From-SVN: r182064
2011-12-06 20:03:25 +00:00
..
algorithm algorithm: Include <utility>, per UK-300. 2009-11-13 15:06:28 +00:00
array tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
atomic Check in patch/merge from cxx-mem-model Branch 2011-11-06 14:55:48 +00:00
bitset hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
chrono re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
complex complex (complex<>::real(), [...]): Remove redundant const qualifiers. 2011-11-08 00:49:47 +00:00
condition_variable re PR libstdc++/50862 (deadlock in std::condition_variable_any) 2011-10-27 00:35:26 +01:00
deque c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
forward_list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
fstream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
functional re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
future acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
iomanip iomanip (put_money): Fix thinko, use __err local, like in, eg, basic_ostream::_M_insert. 2011-12-02 17:23:08 +00:00
ios Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iosfwd PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
iostream PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
istream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
iterator [multiple changes] 2010-07-27 17:27:06 +00:00
limits limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
locale Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
map Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
memory Makefile.am: Add alloc_traits.h headers. 2011-06-22 20:57:12 +01:00
mutex mutex (call_once): Store closure in __once_functor as bound function wrapper might not be copyable. 2011-11-07 22:26:15 +00:00
numeric PR libstdc++/22634, DR 539 [Ready] 2009-12-11 17:54:37 +00:00
ostream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
queue Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
ratio PR libstdc++/47913 (again) 2011-05-04 23:23:54 +00:00
regex [multiple changes] 2010-07-27 17:27:06 +00:00
scoped_allocator ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
set Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
sstream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stack Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stdexcept re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
streambuf user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
string c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
system_error re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
thread hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
tuple re PR libstdc++/51183 (pair piecewise_construct_t constructor copies) 2011-12-06 15:13:04 +00:00
type_traits type_traits: Doxygen improvements. 2011-12-04 16:53:17 +00:00
typeindex hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
unordered_map [multiple changes] 2010-07-27 17:27:06 +00:00
unordered_set [multiple changes] 2010-07-27 17:27:06 +00:00
utility tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
valarray Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
vector Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00