OSDN Git Service

2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jun 2011 22:08:24 +0000 (22:08 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jun 2011 22:08:24 +0000 (22:08 +0000)
* include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
noexcept.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175057 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ptr_traits.h

index fbd45e6..5ad3dd5 100644 (file)
@@ -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.
 
 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
        mode by overloading to take allocator's pointer type.
        * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
index c83bead..a4dae82 100644 (file)
@@ -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); }
     };