gcc/libstdc++-v3/include/bits
Jonathan Wakely f1d591e8a6 Fix assertions for move assignment of trivial types
PR libstdc++/69478
	* include/bits/stl_algobase.h (__copy_move<_IsMove, true,
	random_access_iterator_tag>): Check is_move_assignable when moving.
	(__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
	Likewise.
	* testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
	* testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
	* testsuite/25_algorithms/move/69478.cc: New.
	* testsuite/25_algorithms/move_backward/69478.cc: new.

From-SVN: r232842
2016-01-26 19:38:20 +00:00
..
algorithmfwd.h Update copyright years. 2016-01-04 15:30:50 +01:00
alloc_traits.h allocator_traits<allocator<T>> partial specialization 2016-01-11 16:47:58 +00:00
allocated_ptr.h Update copyright years. 2016-01-04 15:30:50 +01:00
allocator.h Update copyright years. 2016-01-04 15:30:50 +01:00
atomic_base.h Update copyright years. 2016-01-04 15:30:50 +01:00
atomic_futex.h Update copyright years. 2016-01-04 15:30:50 +01:00
basic_ios.h Update copyright years. 2016-01-04 15:30:50 +01:00
basic_ios.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
basic_string.h libstdc++: Make certain exceptions transaction_safe. 2016-01-15 22:42:41 +00:00
basic_string.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
boost_concept_check.h Update copyright years. 2016-01-04 15:30:50 +01:00
c++0x_warning.h Update copyright years. 2016-01-04 15:30:50 +01:00
c++14_warning.h Update copyright years. 2016-01-04 15:30:50 +01:00
c++config libstdc++: Fix usage of __GXX_WEAK__ in TM TS support. 2016-01-18 20:09:55 +00:00
char_traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
codecvt.h Update copyright years. 2016-01-04 15:30:50 +01:00
concept_check.h Update copyright years. 2016-01-04 15:30:50 +01:00
cpp_type_traits.h libstdc++/69406 Fix test to check for supported headers 2016-01-21 13:33:27 +00:00
deque.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
enable_special_members.h Update copyright years. 2016-01-04 15:30:50 +01:00
forward_list.h Update copyright years. 2016-01-04 15:30:50 +01:00
forward_list.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
fstream.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
functexcept.h Update copyright years. 2016-01-04 15:30:50 +01:00
functional_hash.h Update copyright years. 2016-01-04 15:30:50 +01:00
gslice_array.h Update copyright years. 2016-01-04 15:30:50 +01:00
gslice.h Update copyright years. 2016-01-04 15:30:50 +01:00
hashtable_policy.h Update copyright years. 2016-01-04 15:30:50 +01:00
hashtable.h Update copyright years. 2016-01-04 15:30:50 +01:00
indirect_array.h Update copyright years. 2016-01-04 15:30:50 +01:00
ios_base.h Update copyright years. 2016-01-04 15:30:50 +01:00
istream.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
list.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
locale_classes.h Update copyright years. 2016-01-04 15:30:50 +01:00
locale_classes.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
locale_conv.h Update copyright years. 2016-01-04 15:30:50 +01:00
locale_facets_nonio.h Update copyright years. 2016-01-04 15:30:50 +01:00
locale_facets_nonio.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
locale_facets.h Update copyright years. 2016-01-04 15:30:50 +01:00
locale_facets.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
localefwd.h Update copyright years. 2016-01-04 15:30:50 +01:00
mask_array.h Update copyright years. 2016-01-04 15:30:50 +01:00
memoryfwd.h Update copyright years. 2016-01-04 15:30:50 +01:00
move.h libstdc++/68877 Reimplement std::__is_swappable 2016-01-12 21:19:58 +00:00
ostream_insert.h Update copyright years. 2016-01-04 15:30:50 +01:00
ostream.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
parse_numbers.h Update copyright years. 2016-01-04 15:30:50 +01:00
postypes.h Update copyright years. 2016-01-04 15:30:50 +01:00
predefined_ops.h Update copyright years. 2016-01-04 15:30:50 +01:00
ptr_traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
quoted_string.h Update copyright years. 2016-01-04 15:30:50 +01:00
random.h Avoid including all of <random> in <algorithm> 2016-01-25 16:44:30 +00:00
random.tcc Avoid including all of <random> in <algorithm> 2016-01-25 16:44:30 +00:00
range_access.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_automaton.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_automaton.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
regex_compiler.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_compiler.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
regex_constants.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_error.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_executor.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_executor.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
regex_scanner.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex_scanner.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
regex.h Update copyright years. 2016-01-04 15:30:50 +01:00
regex.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
shared_ptr_atomic.h Update copyright years. 2016-01-04 15:30:50 +01:00
shared_ptr_base.h Update copyright years. 2016-01-04 15:30:50 +01:00
shared_ptr.h Update copyright years. 2016-01-04 15:30:50 +01:00
slice_array.h Update copyright years. 2016-01-04 15:30:50 +01:00
specfun.h Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
sstream.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
std_mutex.h * include/bits/std_mutex.h: Fix Doxygen @file name. 2016-01-15 12:37:15 +00:00
stl_algo.h Avoid including all of <random> in <algorithm> 2016-01-25 16:44:30 +00:00
stl_algobase.h Fix assertions for move assignment of trivial types 2016-01-26 19:38:20 +00:00
stl_bvector.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_construct.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_deque.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_function.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_heap.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_iterator_base_funcs.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_iterator_base_types.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_iterator.h Use std::addressof in insert iterators, allocators and promises 2016-01-07 15:01:33 +00:00
stl_list.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_map.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_multimap.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_multiset.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_numeric.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_pair.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_queue.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_raw_storage_iter.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_relops.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_set.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_stack.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_tempbuf.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_tree.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_uninitialized.h Update copyright years. 2016-01-04 15:30:50 +01:00
stl_vector.h Update copyright years. 2016-01-04 15:30:50 +01:00
stream_iterator.h Update copyright years. 2016-01-04 15:30:50 +01:00
streambuf_iterator.h Update copyright years. 2016-01-04 15:30:50 +01:00
streambuf.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
stringfwd.h Update copyright years. 2016-01-04 15:30:50 +01:00
uniform_int_dist.h Avoid including all of <random> in <algorithm> 2016-01-25 16:44:30 +00:00
unique_ptr.h Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_map.h Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_set.h Update copyright years. 2016-01-04 15:30:50 +01:00
uses_allocator.h Use static assertion for uses-allocator construction 2016-01-15 23:12:13 +00:00
valarray_after.h Update copyright years. 2016-01-04 15:30:50 +01:00
valarray_array.h Update copyright years. 2016-01-04 15:30:50 +01:00
valarray_array.tcc Update copyright years. 2016-01-04 15:30:50 +01:00
valarray_before.h Constrain std::valarray functions and operators 2016-01-22 21:15:41 +00:00
vector.tcc Update copyright years. 2016-01-04 15:30:50 +01:00