llvm-project/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind
Arthur O'Dwyer 07a0b0ee94 [libc++] Properly handle specializations of std::is_placeholder.
Before this patch, the user needed to specialize both of
`is_placeholder<MyType>` and `is_placeholder<const MyType>`.
After this patch, only the former is needed (although the
latter is harmless if provided).

The new tests don't actually fail unless return type deduction
is used, which is a C++14 feature. Specializing `is_placeholder`
is still allowed in C++11, though.

Fixes #51095.

Differential Revision: https://reviews.llvm.org/D116388
2022-01-10 12:38:59 -05:00
..
is_bind_expression.pass.cpp [libc++] Properly handle specializations of std::is_placeholder. 2022-01-10 12:38:59 -05:00
is_bind_expression_03.pass.cpp
specialization.pass.cpp [libc++] Properly handle specializations of std::is_placeholder. 2022-01-10 12:38:59 -05:00