Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tambre__Raul
Beginner
75 Views

DR2233 not implemented

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
75 Views

0 Kudos