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: unassignedclangb...@nondot.org
Reporter: ja...@invexed.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs