diff options
| author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-12-29 20:45:08 -0500 |
|---|---|---|
| committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-10 12:38:59 -0500 |
| commit | 07a0b0ee94880cc193f3c63ebe3c4662c3123606 (patch) | |
| tree | 5d9bfc33a5556dc2c6396750e7b71b772282e2b0 /libcxx/include/__algorithm/includes.h | |
| parent | 1d127315e7453d13be6a960dc1d8ed6562121831 (diff) | |
| download | llvm-07a0b0ee94880cc193f3c63ebe3c4662c3123606.zip llvm-07a0b0ee94880cc193f3c63ebe3c4662c3123606.tar.gz llvm-07a0b0ee94880cc193f3c63ebe3c4662c3123606.tar.bz2 | |
[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
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions
