Jonathan Wakely
5275f3e546
re PR libstdc++/58982 (std::vector<std::atomic<int>> vai(10); does not compile anymore)
PR libstdc++/58982
* include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
to prevent using memmove() on non-assignable types.
(__copy_move_backward::__copy_move_b): Likewise.
* include/bits/stl_uninitialized.h (uninitialized_copy
uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
__uninitialized_default, __uninitialized_default_n): Check for
assignable as well as trivial.
* testsuite/20_util/specialized_algorithms/uninitialized_copy/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_fill/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
58982.cc: New.
* testsuite/25_algorithms/copy/58982.cc: New.
* testsuite/25_algorithms/copy_n/58982.cc: New.
From-SVN: r204615
2013-11-09 12:38:00 +00:00
..
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-04-07 10:42:51 +00:00
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-10-31 12:38:02 +00:00
2013-10-23 15:31:26 +00:00
2013-02-03 17:54:05 +00:00
2013-11-05 22:57:36 +00:00
2013-10-29 21:33:29 +00:00
2013-10-15 14:51:37 -04:00
2013-02-03 17:54:05 +00:00
2013-10-02 21:21:52 +01:00
2013-11-01 11:07:15 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-10-31 19:23:54 +00:00
2013-06-08 17:12:07 +01:00
2013-06-13 23:18:27 +00:00
2013-03-13 11:15:45 +00:00
2013-06-13 23:18:27 +00:00
2013-02-03 17:54:05 +00:00
2013-06-13 23:18:27 +00:00
2013-06-13 23:18:27 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-06-13 23:18:27 +00:00
2013-03-13 11:15:45 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-06-13 23:18:27 +00:00
2013-06-13 23:18:27 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-06-13 23:18:27 +00:00
2013-06-13 23:18:27 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-06-13 23:18:27 +00:00
2013-06-13 23:18:27 +00:00
2013-05-02 11:00:26 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-05-19 14:31:36 +01:00
2013-02-03 17:54:05 +00:00
2013-06-26 22:35:46 -04:00
2013-02-03 17:54:05 +00:00
2013-05-21 09:15:13 +01:00
2013-11-05 22:57:36 +00:00
2013-11-05 22:57:36 +00:00
2013-02-03 17:54:05 +00:00
2013-10-30 19:48:52 +00:00
2013-11-09 12:38:00 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-05-19 14:31:36 +01:00
2013-02-03 17:54:05 +00:00
2013-11-05 22:57:36 +00:00
2013-10-30 19:48:52 +00:00
2013-02-20 01:52:36 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00
2013-02-03 17:54:05 +00:00