Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

DR2233 not implemented

Tambre__Raul
Beginner
281 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
281 Views
Reply