Using opDispatch as *magic* getter/setter. Possible or not?

Aleksandar Ružičić ruzicic.aleksandar at gmail.com
Wed Mar 30 17:40:10 PDT 2011


2011/3/31 Aleksandar Ružičić <ruzicic.aleksandar at gmail.com>:
>
> Or maybe there is some other way to achive what I want and I'm not
> aware of it? :-)
>

I know I could have used opIndex and opIndexAssign but I really want
config.section.entry syntax instead of config["section"]["entry"]...


More information about the Digitalmars-d-learn mailing list