List:Commits« Previous MessageNext Message »
From:Martin Hansson Date:December 15 2010 8:50am
Subject:Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255)
View as plain text  
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
Thread
bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255) Martin Hansson8 Dec
Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255)Tor Didriksen13 Dec
  • Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255)Martin Hansson14 Dec
    • Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255)Tor Didriksen15 Dec
      • Re: bzr commit into mysql-trunk-bugfixing branch (martin.hansson:3255)Martin Hansson15 Dec