This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69743] [5/6 Regression] function overload with variadic arguments - template instantiation depth exceeds maximum (gcc4, clang - no problem)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69743

--- Comment #2 from Konstantin Sadov <Konstantin.Sadov at gmail dot com> ---
I just reproduced that in 4.9.3, but the error is a little different

[error]
error: no matching function for call to âf(int, int&, lots of int&, int&,
double&)â
note: candidates are:
note: template<class D, class ... T> void f(int, T ...)
void f(int, T... d)
note:   substitution of deduced template arguments resulted in errors seen
above
note: template<class D, class ... T> void f(T ...)
void f(T... d)
note:   substitution of deduced template arguments resulted in errors seen
above
[error]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]