: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Konstantin.Sadov at gmail dot com
The following code
struct A{A()=default;A(A&)=default;};
templatestruct C:B{C()=default;
#if 1
C(const C&)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59579
--- Comment #1 from Konstantin Sadov ---
Similar programs with defaulted default and move constructors work, so the
problem is for copy constructor only.
struct A{A()=delete;A(A&)=default;};
template
struct C:B{C()=default;C(C&)=default;};
C d(d
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Konstantin.Sadov at gmail dot com
Target Milestone: ---
The following code
[code]
template
void f(int, T... d)
{
}
template
void f(T... d)
{
f(1, d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69743
--- Comment #2 from Konstantin Sadov ---
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 void f