This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69743] [5/6 Regression] function overload with variadic arguments - template instantiation depth exceeds maximum (gcc4, clang - no problem)
- From: "Konstantin.Sadov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Feb 2016 05:34:01 +0000
- Subject: [Bug c++/69743] [5/6 Regression] function overload with variadic arguments - template instantiation depth exceeds maximum (gcc4, clang - no problem)
- Auto-submitted: auto-generated
- References: <bug-69743-4 at http dot gcc dot gnu dot org/bugzilla/>
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]