Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

DR2233 not implemented

Tambre__Raul
Beginner
594 Views
template<typename ...T>
int f(int n = 0, T ...t);

int x = f<int>();

Godbolt
Per the wording change in DR2233 the above code should fail to compile.

GCC, Clang and MSVC all correctly reject this code.

0 Kudos
1 Reply
RahulV_intel
Moderator
594 Views
0 Kudos
Reply