gcc/libstdc++-v3/testsuite/20_util
Jonathan Wakely 952bc7a64c re PR libstdc++/65760 (invalid use of incomplete type with std::is_convertible<C, C>)
PR libstdc++/65760
	* include/std/functional (__check_func_return_type): Use is_same to
	avoid using _is_convertible on incomplete types.
	* testsuite/20_util/function/65760.cc: New.

From-SVN: r222581
2015-04-29 17:07:47 +01:00
..
add_const Update copyright years. 2015-01-05 13:33:28 +01:00
add_cv Update copyright years. 2015-01-05 13:33:28 +01:00
add_lvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
add_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
add_rvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
add_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
addressof Update copyright years. 2015-01-05 13:33:28 +01:00
align Update copyright years. 2015-01-05 13:33:28 +01:00
aligned_storage Update copyright years. 2015-01-05 13:33:28 +01:00
aligned_union Update copyright years. 2015-01-05 13:33:28 +01:00
alignment_of Update copyright years. 2015-01-05 13:33:28 +01:00
allocator Update copyright years. 2015-01-05 13:33:28 +01:00
allocator_traits Update copyright years. 2015-01-05 13:33:28 +01:00
auto_ptr Update copyright years. 2015-01-05 13:33:28 +01:00
bad_function_call Update copyright years. 2015-01-05 13:33:28 +01:00
bind Update copyright years. 2015-01-05 13:33:28 +01:00
common_type/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
conditional/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
decay/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
declval/requirements re PR libstdc++/60333 (type_traits make_signed, make_unsigned missing support for long long enumerations) 2015-04-28 14:21:54 +01:00
default_delete Update copyright years. 2015-01-05 13:33:28 +01:00
duration re PR libstdc++/65499 (Missing "using namespace literals::chrono_literals" in std::chrono) 2015-03-27 12:45:10 +00:00
duration_cast Update copyright years. 2015-01-05 13:33:28 +01:00
enable_if/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
enable_shared_from_this Update copyright years. 2015-01-05 13:33:28 +01:00
exchange Update copyright years. 2015-01-05 13:33:28 +01:00
extent Update copyright years. 2015-01-05 13:33:28 +01:00
forward Update copyright years. 2015-01-05 13:33:28 +01:00
function re PR libstdc++/65760 (invalid use of incomplete type with std::is_convertible<C, C>) 2015-04-29 17:07:47 +01:00
function_objects Update copyright years. 2015-01-05 13:33:28 +01:00
has_trivial_copy_assign re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_trivial_copy_constructor re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_trivial_default_constructor re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_virtual_destructor Update copyright years. 2015-01-05 13:33:28 +01:00
hash Update copyright years. 2015-01-05 13:33:28 +01:00
headers Update copyright years. 2015-01-05 13:33:28 +01:00
integer_sequence Update copyright years. 2015-01-05 13:33:28 +01:00
integral_constant Update copyright years. 2015-01-05 13:33:28 +01:00
is_abstract Update copyright years. 2015-01-05 13:33:28 +01:00
is_arithmetic Update copyright years. 2015-01-05 13:33:28 +01:00
is_array Update copyright years. 2015-01-05 13:33:28 +01:00
is_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_base_of Update copyright years. 2015-01-05 13:33:28 +01:00
is_class Update copyright years. 2015-01-05 13:33:28 +01:00
is_compound Update copyright years. 2015-01-05 13:33:28 +01:00
is_const Update copyright years. 2015-01-05 13:33:28 +01:00
is_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_convertible Update copyright years. 2015-01-05 13:33:28 +01:00
is_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_empty Update copyright years. 2015-01-05 13:33:28 +01:00
is_enum Update copyright years. 2015-01-05 13:33:28 +01:00
is_final Update copyright years. 2015-01-05 13:33:28 +01:00
is_floating_point Update copyright years. 2015-01-05 13:33:28 +01:00
is_function Update copyright years. 2015-01-05 13:33:28 +01:00
is_fundamental Update copyright years. 2015-01-05 13:33:28 +01:00
is_integral Update copyright years. 2015-01-05 13:33:28 +01:00
is_literal_type Update copyright years. 2015-01-05 13:33:28 +01:00
is_lvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_function_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_object_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_null_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_object Update copyright years. 2015-01-05 13:33:28 +01:00
is_pod Update copyright years. 2015-01-05 13:33:28 +01:00
is_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_polymorphic Update copyright years. 2015-01-05 13:33:28 +01:00
is_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_rvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_same Update copyright years. 2015-01-05 13:33:28 +01:00
is_scalar Update copyright years. 2015-01-05 13:33:28 +01:00
is_signed Update copyright years. 2015-01-05 13:33:28 +01:00
is_standard_layout Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivial Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copyable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_union Update copyright years. 2015-01-05 13:33:28 +01:00
is_unsigned Update copyright years. 2015-01-05 13:33:28 +01:00
is_void Update copyright years. 2015-01-05 13:33:28 +01:00
is_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
make_signed/requirements re PR libstdc++/60333 (type_traits make_signed, make_unsigned missing support for long long enumerations) 2015-04-28 14:21:54 +01:00
make_unsigned/requirements re PR libstdc++/60333 (type_traits make_signed, make_unsigned missing support for long long enumerations) 2015-04-28 14:21:54 +01:00
move Update copyright years. 2015-01-05 13:33:28 +01:00
move_if_noexcept Update copyright years. 2015-01-05 13:33:28 +01:00
owner_less Update copyright years. 2015-01-05 13:33:28 +01:00
pair re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
pointer_traits Update copyright years. 2015-01-05 13:33:28 +01:00
rank Update copyright years. 2015-01-05 13:33:28 +01:00
ratio Update copyright years. 2015-01-05 13:33:28 +01:00
raw_storage_iterator/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
reference_wrapper Update copyright years. 2015-01-05 13:33:28 +01:00
remove_all_extents Update copyright years. 2015-01-05 13:33:28 +01:00
remove_const Update copyright years. 2015-01-05 13:33:28 +01:00
remove_cv Update copyright years. 2015-01-05 13:33:28 +01:00
remove_extent Update copyright years. 2015-01-05 13:33:28 +01:00
remove_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
remove_reference Update copyright years. 2015-01-05 13:33:28 +01:00
remove_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
result_of Update copyright years. 2015-01-05 13:33:28 +01:00
scoped_allocator re PR libstdc++/65279 (std::scoped_allocator_adaptor is not assignable) 2015-03-02 17:50:55 +00:00
shared_ptr Update copyright years. 2015-01-05 13:33:28 +01:00
specialized_algorithms re PR libstdc++/64476 (std::uninitialized_copy tests assignability the wrong way, resulting in performance pessimization) 2015-01-09 18:02:47 +00:00
steady_clock Update copyright years. 2015-01-05 13:33:28 +01:00
system_clock Update copyright years. 2015-01-05 13:33:28 +01:00
time_point Update copyright years. 2015-01-05 13:33:28 +01:00
time_point_cast Update copyright years. 2015-01-05 13:33:28 +01:00
tuple re PR libstdc++/56785 (std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements) 2015-01-17 00:21:41 +00:00
typeindex Update copyright years. 2015-01-05 13:33:28 +01:00
underlying_type/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
unique_ptr Update copyright years. 2015-01-05 13:33:28 +01:00
uses_allocator Update copyright years. 2015-01-05 13:33:28 +01:00
void_t type_traits (void_t): Add. 2015-04-28 13:07:34 +01:00
weak_ptr Update copyright years. 2015-01-05 13:33:28 +01:00
rel_ops.cc Update copyright years. 2015-01-05 13:33:28 +01:00
temporary_buffer.cc Update copyright years. 2015-01-05 13:33:28 +01:00