Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
242 views

MSVC vs Clang/GCC bug during overload resolution of function templates one of which contains a parameter pack

I was using parameter pack when I noticed that one such case(shown below) compiles fine in gcc and clang but not in msvc: template<class T> void func(T a, T b= T{}) { } template<class T, ...
user12002570's user avatar