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] |
------- Comment #9 from ivranos at freemail dot gr 2008-10-03 08:38 -------
I am sorry but you are not right/specific.
At first there is no struct in the code, only class.
Second, the copy constructor does not copy the passed argument, it ignores it.
But it initialises its data member the same way as the main constructor.
So, there isn't any bug.
--
ivranos at freemail dot gr changed:
What |Removed |Added
--- --- ----------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Component|libstdc++ |c++
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |