[llvm-bugs] [Bug 45730] New: __is_constructible intrinsic fails to compile within pack expansion
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 29 04:09:31 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45730
Bug ID: 45730
Summary: __is_constructible intrinsic fails to compile within
pack expansion
Product: clang
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: CUDA
Assignee: unassignedclangbugs at nondot.org
Reporter: james at invexed.com
CC: llvm-bugs at lists.llvm.org
#include <type_traits>
template<bool...>
struct BooleanSink {};
// error: cannot yet mangle expression type TypeTraitExpr
template<typename... Ts>
auto f(BooleanSink<__is_constructible(int, Ts)...>)
{}
// compiles successfully
template<typename... Ts>
auto f(BooleanSink<std::is_constructible_v<int, Ts>...>)
{}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200429/02a2c668/attachment.html>
More information about the llvm-bugs
mailing list