llvm-project/libcxx/test/std/containers/associative/set/set.cons
Konstantin Varlamov 68072a7166 [libc++] P0433R2: test that deduction guides are properly SFINAEd away.
Deduction guides for containers should not participate in overload
resolution when called with certain incorrect types (e.g. when called
with a template argument in place of an `InputIterator` that doesn't
qualify as an input iterator). Similarly, class template argument
deduction should not select `unique_ptr` constructors that take a
a pointer.

The tests try out every possible incorrect parameter (but never more
than one incorrect parameter in the same invocation).

Also add deduction guides to the synopsis for associative and unordered
containers (this was accidentally omitted from [D112510](https://reviews.llvm.org/D112510)).

Differential Revision: https://reviews.llvm.org/D112904
2021-11-09 09:32:24 -08:00
..
alloc.pass.cpp
assign_initializer_list.pass.cpp [libc++] Make test_allocator constexpr-friendly for constexpr string/vector 2021-11-07 16:15:28 +01:00
compare.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
compare_alloc.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
compare_copy_constructible.compile.fail.cpp [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00
copy.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
copy_alloc.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
copy_assign.addressof.compile.pass.cpp [libc++] Use addressof in assignment operator. 2021-10-07 18:10:47 +02:00
copy_assign.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
deduct.fail.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
deduct.pass.cpp [libc++] P0433R2: test that deduction guides are properly SFINAEd away. 2021-11-09 09:32:24 -08:00
default.pass.cpp
default_noexcept.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
dtor_noexcept.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
initializer_list.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
initializer_list_compare.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
initializer_list_compare_alloc.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
iter_iter.pass.cpp [libcxx][nfc] prefixes test type `input_iterator` with `cpp17_` 2021-05-02 05:02:59 +00:00
iter_iter_alloc.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
iter_iter_comp.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
move.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
move_alloc.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
move_assign.pass.cpp [libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. 2021-05-29 16:54:24 -04:00
move_assign_noexcept.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
move_noexcept.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00