Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

DR2233 not implemented

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