mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-05 01:34:12 +08:00
ptr_traits.h (pointer_traits<T*>::pointer_to): Use noexcept.
2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use noexcept. From-SVN: r175057
This commit is contained in:
parent
764703cdea
commit
d2393b3adb
@ -1,3 +1,8 @@
|
||||
2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
|
||||
noexcept.
|
||||
|
||||
2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* 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 <jwakely.gcc@gmail.com>
|
||||
|
||||
* 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 <jwakely.gcc@gmail.com>
|
||||
|
||||
* include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
|
||||
|
@ -211,7 +211,7 @@ _GLIBCXX_HAS_NESTED_TYPE(difference_type)
|
||||
* @return @c addressof(r)
|
||||
*/
|
||||
static pointer
|
||||
pointer_to(typename __ptrtr_not_void<element_type>::__type& __r)
|
||||
pointer_to(typename __ptrtr_not_void<element_type>::__type& __r) noexcept
|
||||
{ return std::addressof(__r); }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user