llvm-project/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.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
..
assign_copy.addressof.compile.pass.cpp [libc++] Use addressof in assignment operator. 2021-10-07 18:10:47 +02:00
assign_copy.pass.cpp
assign_move.pass.cpp
ctor_comp.pass.cpp [libc++] [P0935] [C++20] Eradicating unnecessarily explicit default constructors from the standard library. 2021-01-19 08:22:06 +01:00
ctor_comp_container.pass.cpp [libc++] [P0935] [C++20] Eradicating unnecessarily explicit default constructors from the standard library. 2021-01-19 08:22:06 +01:00
ctor_comp_rcontainer.pass.cpp [libc++] [P0935] [C++20] Eradicating unnecessarily explicit default constructors from the standard library. 2021-01-19 08:22:06 +01:00
ctor_copy.pass.cpp
ctor_default.pass.cpp [libc++] [P0935] [C++20] Eradicating unnecessarily explicit default constructors from the standard library. 2021-01-19 08:22:06 +01:00
ctor_iter_constraint.compile.pass.cpp [libc++] Implement the resolutions of LWG3506 and LWG3522. 2021-07-28 21:15:20 -04:00
ctor_iter_iter.pass.cpp
ctor_iter_iter_comp.pass.cpp
ctor_iter_iter_comp_cont.pass.cpp
ctor_iter_iter_comp_rcont.pass.cpp
ctor_move.pass.cpp
deduct.fail.cpp [libc++] Remove workarounds for the lack of deduction guides in C++17 2021-08-18 08:57:25 -04:00
deduct.pass.cpp [libc++] P0433R2: test that deduction guides are properly SFINAEd away. 2021-11-09 09:32:24 -08:00
default_noexcept.pass.cpp
dtor_noexcept.pass.cpp
move_assign_noexcept.pass.cpp
move_noexcept.pass.cpp