https://bugs.llvm.org/show_bug.cgi?id=48617
Bug ID: 48617
Summary: Crash with empty parameter pack on variadic concept as
return type constraint
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++2a
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
https://godbolt.org/z/6KE9ed
If a constraint on a return type ends up being given zero parameters for its
parameter pack, clang blows up with a very confusing crash and no useful
diagnostic. In addition, in certain situations if you explicitly specialize the
function template before calling it again without explicit template arguments,
the second inferred call will compile but only if preceded by the first call
with explicit args. Unfortunately I do not have a minimal repro of this case
yet but it is the way I initially encountered this bug.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs