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"));
> }
