Template template parameters and default arguments in C++17 (CWG150 + P0522R0) #42305
Labels
bugzilla
Issues migrated from bugzilla
c++17
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
duplicate
Resolved as duplicate
Extended Description
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>
struct mata;
using type = mata;
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.
The text was updated successfully, but these errors were encountered: