[Bug c++/18113] compiler allows 2 copy constructors

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 26 18:48:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-26 18:48 -------
  TObject(const rObject){} is the same as   TObject(TObject&){}

The const is ignored.

-- 


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



More information about the Gcc-bugs mailing list