Properties don't work as expected

zodd via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 6 02:08:11 PDT 2016


So, I've created a simple wrapper template to achieve what I 
want. It reminds me of the C++ - a bunch of additional code to 
solve a simple problem (which shouldn't be an issue at all). I'm 
a newbie in D thus I could do something wrong or nonoptimal. 
Please, criticize my code: http://pastebin.com/XTtXaTAR

A basic idea is to return a wrapper, which can, in turn, call 
getter/setter functions.


More information about the Digitalmars-d-learn mailing list