This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33350] copy constructor error
- From: "stevenyi at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2007 05:26:20 -0000
- Subject: [Bug c++/33350] copy constructor error
- References: <bug-33350-7533@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from stevenyi at 163 dot com 2007-09-09 05:26 -------
I can not see any reason to call the copy constructor here. If you remove
keyword explicit so that let the code compile, you can find that the copy
constructor is not called at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33350