iterators again
Walter Bright
newshound1 at digitalmars.com
Wed Jun 6 13:49:29 PDT 2007
Bruno Medeiros wrote:
> I know I can change the members of a final class, if I use the class
> reference directly (like "foo.membervar = 42"). However it seems that
> with that design, if one uses (*(&foo)) one won't be able to change the
> members of (*(&foo)) , as in "(*(&foo)).membervar = 42", even tough foo
> is conceptually the same as (*(&foo)). I was just checking if you
> recognized that this happens.
Yes.
More information about the Digitalmars-d
mailing list