This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]