Generic Property Implementation

Mike Franklin slavo5150 at yahoo.com
Fri Mar 9 01:38:01 UTC 2018


On Friday, 9 March 2018 at 01:22:15 UTC, Mike Franklin wrote:

> I would like to know if this can be improved to support the 
> following:
>
> * binary assignment operators (e.g. +=)
> * unary assignment operators (e.g. ++)
> * @safe, @nogc, and -betterC compatible
> * at least as good code generation as that proposed in the DIP 
> when optimizations are enabled.

  * And should be scalable to data that isn't addressable (e.g. 
bitfields).  See https://issues.dlang.org/show_bug.cgi?id=16187




More information about the Digitalmars-d-learn mailing list