[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 1 11:33:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-01 11:33 -------


Hop::Hop(string):msg(msg)
{}

Does not reference msg the argument here since there is no such thing.


-- 


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



More information about the Gcc-bugs mailing list