gcc/libstdc++-v3/testsuite/20_util
Jonathan Wakely c3ba63c314 PR libstdc++/87704 fix unique_ptr(nullptr_t) constructors
Using a delegating constructor to implement these constructors means
that they instantiate the destructor, which requires the element_type to
be complete. In C++11 and C++14 they were specified to be delegating,
but that was changed as part of LWG 2801 so in C++17 they don't require
a complete type (as was intended all along).

	PR libstdc++/87704
	* include/bits/unique_ptr.h (unique_ptr::unique_ptr(nullptr_t)): Do
	not delegate to default constructor.
	(unique_ptr<T[], D>::unique_ptr(nullptr_t)): Likewise.
	* testsuite/20_util/unique_ptr/cons/incomplete.cc: New test.

From-SVN: r265423
2018-10-23 14:10:26 +01:00
..
add_const
add_cv
add_lvalue_reference
add_pointer
add_rvalue_reference Add whitespace to some dejagnu directives in libstdc++ tests 2018-06-29 10:54:07 +01:00
add_volatile
addressof
align Remove dg-require-cstdint directive from tests 2018-07-26 15:02:26 +01:00
aligned_storage
aligned_union
alignment_of
allocator Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
allocator_traits
any Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
as_const
auto_ptr
bad_function_call
bind
bool_constant
common_type/requirements
conditional/requirements
decay/requirements
declval/requirements
default_delete
duration Fix tests that fail when built with different options 2018-10-18 21:04:55 +01:00
duration_cast
enable_if/requirements
enable_shared_from_this
endian
exchange
extent
forward
from_chars
function Make std::function tolerate semantically non-CopyConstructible objects 2018-05-09 14:28:11 +01:00
function_objects PR libstdc++/87538 fix std::not_fn exception specifications 2018-10-08 13:07:22 +01:00
has_unique_object_representations
has_virtual_destructor
hash
headers
in_place
integer_sequence
integral_constant
is_abstract
is_aggregate
is_arithmetic
is_array
is_assignable
is_base_of
is_class
is_compound
is_const
is_constructible
is_convertible
is_copy_assignable
is_copy_constructible
is_default_constructible
is_destructible
is_empty
is_enum
is_final
is_floating_point
is_function
is_fundamental
is_implicitly_default_constructible
is_integral
is_invocable
is_literal_type
is_lvalue_reference
is_member_function_pointer
is_member_object_pointer
is_member_pointer
is_move_assignable
is_move_constructible
is_nothrow_assignable
is_nothrow_constructible
is_nothrow_convertible P0758R1 Implicit conversion traits 2018-07-02 23:09:25 +01:00
is_nothrow_copy_assignable
is_nothrow_copy_constructible
is_nothrow_default_constructible
is_nothrow_destructible
is_nothrow_invocable
is_nothrow_move_assignable
is_nothrow_move_constructible
is_nothrow_swappable
is_nothrow_swappable_with
is_null_pointer
is_object
is_pod
is_pointer
is_polymorphic
is_reference
is_rvalue_reference
is_same
is_scalar
is_signed
is_standard_layout
is_swappable
is_swappable_with
is_trivial
is_trivially_assignable Simplify the base characteristics for some type traits 2018-07-19 20:12:37 +01:00
is_trivially_constructible PR libstdc++/86398 fix std::is_trivially_constructible regression 2018-07-04 10:03:18 +01:00
is_trivially_copy_assignable
is_trivially_copy_constructible
is_trivially_copyable
is_trivially_default_constructible
is_trivially_destructible
is_trivially_move_assignable
is_trivially_move_constructible
is_union
is_unsigned
is_void
is_volatile
logical_traits
make_signed/requirements Remove dg-require-cstdint directive from tests 2018-07-26 15:02:26 +01:00
make_unsigned/requirements PR libstdc++/86398 fix std::is_trivially_constructible regression 2018-07-04 10:03:18 +01:00
memory_resource Add initial version of C++17 <memory_resource> header 2018-07-24 22:09:55 +01:00
monotonic_buffer_resource Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
move
move_if_noexcept
optional Refactor std::optional SFINAE constraints 2018-08-20 13:13:25 +01:00
owner_less
pair PR libstdc++/86751 default assignment operators for std::pair 2018-07-31 23:31:20 +01:00
pointer_safety
pointer_traits
polymorphic_allocator Refactor uses-allocator construction 2018-08-15 20:20:02 +01:00
rank
ratio Remove dg-require-cstdint directive from tests 2018-07-26 15:02:26 +01:00
raw_storage_iterator
reference_wrapper Remove C++14-isms from C++11 tests 2018-08-23 09:26:22 +01:00
remove_all_extents
remove_const
remove_cv
remove_cvref
remove_extent
remove_pointer
remove_reference
remove_volatile
result_of
scoped_allocator Fix tests that use allocators with incorrect value types 2018-10-19 22:49:40 +01:00
shared_ptr PR libstdc++/87278 restore support for std::make_shared<volatile T>() 2018-09-11 12:50:39 +01:00
specialized_algorithms Use __builtin_memmove for trivially copyable types 2018-07-19 19:58:09 +01:00
steady_clock
system_clock Remove dg-require-cstdint directive from tests 2018-07-26 15:02:26 +01:00
time_point Remove dg-require-cstdint directive from tests 2018-07-26 15:02:26 +01:00
time_point_cast
to_address
to_chars
tuple PR libstdc++/86963 Implement LWG 2729 constraints on tuple assignment 2018-08-17 18:52:49 +01:00
type_identity/requirements P0887R1 The identity metafunction 2018-07-02 22:05:08 +01:00
typeindex
underlying_type/requirements
unique_ptr PR libstdc++/87704 fix unique_ptr(nullptr_t) constructors 2018-10-23 14:10:26 +01:00
uses_allocator Reorder conditions in uses-allocator construction helper 2018-07-24 14:03:25 +01:00
variant re PR libstdc++/87619 (sizeof(std::variant) can be reduced if its variant_size is UCHAR_MAX) 2018-10-17 22:08:51 +03:00
void_t
weak_ptr
rel_ops.cc
temporary_buffer.cc
variable_templates_for_traits.cc