From: Martin Hansson Date: December 15 2010 8:50am Subject: Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255) List-Archive: http://lists.mysql.com/commits/126891 Message-Id: <4D088145.30000@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Tor, Tor Didriksen skrev 2010-12-15 09.37: >> - please mention somewhere that all the clone() implementations rely on >>> the >>> compiler-generated Copy Constructor, which does memberwise >>> initialization. >>> >> I mention that they call the copy constructor. As for what the copy >> constructor does, it might change so I dare not speak of it. > > If you don't write your own copy constructor, the compiler will generate one > for you. > The generated one will do memberwise initialization. That was my point. Somebody may write one some time and they will most definitely not care to change the comment to the clone() meth...hrrm, member function! ;-) So IMHO it's best not to say anything there. Best Regards Martin