struct destructors

Robert Fraser fraserofthenight at gmail.com
Fri Mar 7 09:40:03 PST 2008


Bill Baxter wrote:
> Janice Caron wrote:
>> On 07/03/2008, John C <johnch_atms at hotmail.com> wrote:
>>> In the example, 'a' refers to an int. So no.
>>
>> So it does. I was confusing it with the previous example. Thanks for
>> the correction.
> 
> But this looks wrong
> 
> """
> Struct assignment t=s is defined to be semantically equivalent to:
> 
> t = S.opAssign(s);
> """
> 
> Shouldn't that be t.opAssign(s)?
> 
> --bb

So it should.



More information about the Digitalmars-d mailing list