diff options
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 89e0fcf..4efd866 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,27 @@ +2015-06-04 Ville Voutilainen <ville.voutilainen@gmail.com> + + Add __is_nothrow_swappable and take it into use. + * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode. + * include/bits/move.h (swap): Add constraints in C++11 and later. + * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable + for the free swap function for pair. + * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable + for the free swap functions for queue and priority_queue. + * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable + for the free swap function for stack. + * include/debug/array (swap): Use __is_nothrow_swappable + for the free swap function for array. + * include/profile/array (swap): Likewise. + * include/std/array (swap): Likewise. + * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable. + * include/std/type_traits (__is_swappable_impl::__is_swappable, + __is_nothrow_swappable_impl, __is_nothrow_swappable): New. + * testsuite/20_util/is_nothrow_swappable/requirements/ + explicit_instantiation.cc: New. + * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc: + New. + * testsuite/20_util/is_nothrow_swappable/value.cc: New. + 2015-06-03 François Dumont fdumont@gcc.gnu.org> * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode. |