From: Jonathan Wakely Date: Tue, 14 Jun 2011 22:08:24 +0000 (+0000) Subject: ptr_traits.h (pointer_traits::pointer_to): Use noexcept. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2393b3adbf064b100eab5050278d71302ce7d1d;p=gcc.git ptr_traits.h (pointer_traits::pointer_to): Use noexcept. 2011-06-14 Jonathan Wakely * include/bits/ptr_traits.h (pointer_traits::pointer_to): Use noexcept. From-SVN: r175057 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fbd45e6ca8c..5ad3dd54e22 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-06-14 Jonathan Wakely + + * include/bits/ptr_traits.h (pointer_traits::pointer_to): Use + noexcept. + 2011-06-14 Paolo Carlini * include/std/valarray (~valarray): Use noexcept. @@ -44,6 +49,13 @@ Likewise. * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise. +2011-06-11 Jonathan Wakely + + * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for + C++0x mode. + * testsuite/25_algorithms/sort/35588.cc: Likewise. + * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise. + 2011-06-11 Jonathan Wakely * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x diff --git a/libstdc++-v3/include/bits/ptr_traits.h b/libstdc++-v3/include/bits/ptr_traits.h index c83beadb149..a4dae82524e 100644 --- a/libstdc++-v3/include/bits/ptr_traits.h +++ b/libstdc++-v3/include/bits/ptr_traits.h @@ -211,7 +211,7 @@ _GLIBCXX_HAS_NESTED_TYPE(difference_type) * @return @c addressof(r) */ static pointer - pointer_to(typename __ptrtr_not_void::__type& __r) + pointer_to(typename __ptrtr_not_void::__type& __r) noexcept { return std::addressof(__r); } };