opStarAssign?

Janice Caron caron800 at googlemail.com
Thu Nov 22 12:37:55 PST 2007


So, are we going to get opStarAssign()?

I can do
    n = *p;

but not
    *p = n;

Also, are these overloads going to be renamed (e.g. opDeref(),
opDerefAssign()) as people here have suggested. I can think of many
names I might give to a dereferencing function - among them val(),
deref(), getValue(), getElement(), and so on, but for some reason
"opStar" would not be high on my list of choices.



More information about the Digitalmars-d mailing list