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++/33350] copy constructor error



------- Comment #2 from stevenyi at 163 dot com  2007-09-09 02:46 -------
(In reply to comment #1)
> Yes the copy constructor is going to be called implicately here.

the copy constructor is not actually called at runtime. and both intel compiler
and vc++ can compile this code.


-- 


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


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