DIP23 Counter Proposal

Robert jfanatiker at gmx.at
Thu Feb 7 14:04:00 PST 2013


I am not completely against this, but it feels quite artificial to make
a builtin feature complete this way. If we implement the property stuff
completely via library methods, I would like it more, but if it is
documented properly, might not be too bad:

struct S {
	mixin(property(int, "i"));
}

On Thu, 2013-02-07 at 16:12 -0500, Steven Schveighoffer wrote:
> struct S
> {
>     mixin(boilerplateProperty("i"));
> }




More information about the Digitalmars-d mailing list