Property discussion wrap-up

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Tue Jan 29 16:04:54 PST 2013


On Tuesday, 29 January 2013 at 21:32:00 UTC, Rob T wrote:
> Zach the Mystic mentions a situation where we wrap not the 
> data, but only the functions around a struct-like property 
> object, that way it contains no data of its own, does not need 
> a "this" or a constructor or destructor. The idea extends  past 
> just implementing properties, and into implementing "smart 
> functions" that can be used in more generalized ways.

I would only add that the function can only be as smart as the 
programmers who write it...



More information about the Digitalmars-d mailing list