This is the mail archive of the gcc-help@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]

Re: copy ctor not called


Hi Jeroen,

>According to your statement they are wrong.

Please re-read my statement.  My statement does not contradict what you cited from C++ Primer.

What is being elided is the assignment operator, not the copy constructor.  The copy constructor is still being used for initialization.

Sincerely,
--Eljay


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