------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-17 
20:17 -------
Note T(T&) is still a copy constructor, just not one which takes a constant 
reference.
Also note:
it really bolls down to this testcase:
int  f(int&);
int f();
int g(void)
{
  return f(1);
}

If we get rid of the second f function, we get a good warning.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21631

Reply via email to