On 2/7/13 4:12 PM, Steven Schveighoffer wrote:
On Thu, 07 Feb 2013 15:25:57 -0500, Jonathan M Davis
<[email protected]> wrote:


struct S
{
@property int i;
}

struct S
{
mixin(boilerplateProperty("i"));
}

I don't see this as a difficult problem to solve.

-Steve

I like that, too, with the note that various syntax highlighters etc. won't be able to see much about that entity.

Andrei

Reply via email to