gcc/libstdc++-v3/testsuite/20_util
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
..
add_lvalue_reference N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
add_rvalue_reference N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
addressof Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
aligned_storage Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
allocator_traits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
auto_ptr Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bad_function_call Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bind functional (_Derives_from_unary_function): Remove. 2013-04-07 10:42:51 +00:00
common_type/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
conditional/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
decay/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
declval/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
default_delete 48631_neg.cc: Tweak dg-prune. 2013-10-31 12:38:02 +00:00
duration re PR libstdc++/58850 (Conversion error in chrono) 2013-10-23 15:31:26 +00:00
duration_cast Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
enable_if/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
enable_shared_from_this re PR libstdc++/58839 (dereferencing void* in shared_ptr(unique_ptr&& u) constructor) 2013-10-29 21:33:29 +00:00
exchange Add missing function in 20_util/exchange/1.cc. 2013-10-15 14:51:37 -04:00
forward Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
function re PR libstdc++/58569 (Compilation error when a class contains multiple std::function) 2013-10-02 21:21:52 +01:00
function_objects N3421 C++1y Transparent functors 2013-11-01 11:07:15 +00:00
has_trivial_copy_assign Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
has_trivial_copy_constructor Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
has_trivial_default_constructor Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hash Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
headers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
integer_sequence tuple (_Index_tuple, [...]): Move to <utility>. 2013-10-31 19:23:54 +00:00
integral_constant type-traits (integral_constant::operator()): Implement N3545. 2013-06-08 17:12:07 +01:00
is_assignable type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_compound re PR libstdc++/56609 ([C++11] Several type traits give incorrect results for std::nullptr_t) 2013-03-13 11:15:45 +00:00
is_constructible type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_convertible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_copy_assignable type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_copy_constructible type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_default_constructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_destructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_floating_point Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_function type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_fundamental re PR libstdc++/56609 ([C++11] Several type traits give incorrect results for std::nullptr_t) 2013-03-13 11:15:45 +00:00
is_integral Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_literal_type Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_lvalue_reference Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_member_function_pointer Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_member_object_pointer Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_member_pointer Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_move_assignable type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_move_constructible type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_nothrow_assignable Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_nothrow_constructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_nothrow_copy_assignable type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_nothrow_copy_constructible type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_nothrow_default_constructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_nothrow_destructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_nothrow_move_assignable type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_nothrow_move_constructible type_traits (is_function): Support ref-qualified functions. 2013-06-13 23:18:27 +00:00
is_null_pointer type_traits (is_null_pointer): Add. 2013-05-02 11:00:26 +00:00
is_object Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_pod Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_reference Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_rvalue_reference Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_scalar Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_signed Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_standard_layout Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_trivial Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_trivially_destructible Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_unsigned Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
make_signed/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
make_unsigned/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
move Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
move_if_noexcept Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
owner_less Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pair tuple (get): Implement N3670. 2013-05-19 14:31:36 +01:00
pointer_traits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ratio typeck2.c (store_init_value): Diagnose a non-constant initializer for in-class static. 2013-06-26 22:35:46 -04:00
raw_storage_iterator/requirements Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
reference_wrapper re PR libstdc++/57336 (Cannot INVOKE a reference_wrapper around an abstract type) 2013-05-21 09:15:13 +01:00
remove_reference N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
result_of N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
scoped_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
shared_ptr shared_ptr (__shared_ptr): Assert non-void pointer. 2013-10-30 19:48:52 +00:00
specialized_algorithms re PR libstdc++/58982 (std::vector<std::atomic<int>> vai(10); does not compile anymore) 2013-11-09 12:38:00 +00:00
steady_clock Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
system_clock Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
time_point Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
time_point_cast Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tuple tuple (get): Implement N3670. 2013-05-19 14:31:36 +01:00
typeindex Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
underlying_type/requirements N3655 C++1y TransformationTraits Redux 2013-11-05 22:57:36 +00:00
unique_ptr shared_ptr (__shared_ptr): Assert non-void pointer. 2013-10-30 19:48:52 +00:00
uses_allocator user.cfg.in: Set __cplusplus to 201103L. 2013-02-20 01:52:36 +00:00
weak_ptr Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
rel_ops.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
temporary_buffer.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00