forked from OSchip/llvm-project
68072a7166
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 |
||
---|---|---|
.. | ||
addressof.h | ||
allocation_guard.h | ||
allocator.h | ||
allocator_arg_t.h | ||
allocator_traits.h | ||
auto_ptr.h | ||
compressed_pair.h | ||
construct_at.h | ||
pointer_safety.h | ||
pointer_traits.h | ||
raw_storage_iterator.h | ||
shared_ptr.h | ||
temporary_buffer.h | ||
uninitialized_algorithms.h | ||
unique_ptr.h | ||
uses_allocator.h |