Le 2011-07-06 à 2:28, Jacob Carlborg a écrit :

> It's possible to emulate properties in C++ with some help of operator 
> overloading: http://en.wikipedia.org/wiki/Property_%28programming%29#C.2B.2B

Doesn't work in this case because the property needs access to a variable of 
the base class. I realize I could add a pointer to it in the property struct, 
but that'd increase the array size by one word, and I don't want that.

-- 
Michel Fortin
[email protected]
http://michelf.com/



_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to