llvm-project/libcxx
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
..
benchmarks
cmake
docs [libc++] Fix link to bug tracker 2022-01-10 08:33:28 -05:00
include [libc++] Properly handle specializations of std::is_placeholder. 2022-01-10 12:38:59 -05:00
lib
src
test [libc++] Properly handle specializations of std::is_placeholder. 2022-01-10 12:38:59 -05:00
utils [libc++] libcxx/utils: s/preambule/preamble/g. NFC. 2022-01-10 11:38:25 -05:00
.clang-format
.clang-tidy
.gitignore
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt
CREDITS.TXT
LICENSE.TXT
TODO.TXT