struct destructors

Bill Baxter dnewsgroup at billbaxter.com
Fri Mar 7 02:46:42 PST 2008


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



More information about the Digitalmars-d mailing list