Taking a copy of an object

Hasan Aljudy hasan.aljudy at gmail.com
Thu Aug 3 13:12:03 PDT 2006



Bruno Medeiros wrote:
> Derek Parnell wrote:
> 
<Snip>
>> And maybe one day (hoping against precedent) that Walter will actually 
>> see
>> that an operator for copying stuff is not such a stupid idea.
>>
>>    auto backup := q; // invokes q.onCopy() if it exists.
>>
> 
> Yes, I think that would be quite useful.
> 

Oh please, I hate the := operator, it's too ugly.



More information about the Digitalmars-d mailing list