int f(int n = 0, T ...t);
int x = f<int>();
GodboltPer the wording change in DR2233 the above code should fail to compile.
GCC, Clang and MSVC all correctly reject this code.
Duplicate thread. Kindly refer to https://software.intel.com/en-us/forums/intel-c-compiler/topic/856652.
For more complete information about compiler optimizations, see our Optimization Notice.