opStarAssign?

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Sat Nov 24 10:21:07 PST 2007


Janice Caron wrote:
> On 11/24/07, 0ffh <frank at frankhirsch.youknow.what.todo.net> wrote:
> 
>>    *x=3;
>> Wouldn't this be quite sufficient, without the need to "*x=":
> 
> Both of those lines look like *x= to me.

I think you missed the intention of the ':' at the end. He wasn't 
referring to the previous lines, but the following ones:

0ffh wrote:
 >   int y=0;
 >   Variant x=&y;
 >   int* z;z=x;
 >   *z=3;
 >   printf("%i\n",y); // prints 3



More information about the Digitalmars-d mailing list