On 4/6/2012 3:23 AM, Manu wrote:
What about:

struct editor
{
   this(string name, EditType, Colour = Colour.Default, string description = 
null)
   {
     //...
   }

   blah blah blah
}

@attr(editor("thing",...blah...))

Are you really changing the arguments for every declaration? Or is it one set that is repeated everywhere?


I don't see the advantage over:
@editor(...)

?

Name collisions with other @ attributes.

Reply via email to