https://bugs.llvm.org/show_bug.cgi?id=42960
Bug ID: 42960
Summary: Template template parameters and default arguments in
C++17 (CWG150 + P0522R0)
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Created attachment 22368
--> https://bugs.llvm.org/attachment.cgi?id=22368&action=edit
The MWE code described in the report.
The code below will not compile with Clang, though it does with GCC (with the
-std=c++17 flag and upwards).
template <typename T, typename = void>
struct jam;
template <template <typename> typename>
struct mata;
using type = mata<jam>;
This relates to CWG 150, which I believe was resolved by P0522R0. That is,
since C++17, code such as that above should now be legal.
--
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