User Defined Attributes

Walter Bright newshound2 at digitalmars.com
Tue Nov 6 11:36:14 PST 2012


On 11/6/2012 10:45 AM, David Nadlinger wrote:
> This doesn't put the @-syntax out of the game, though: @attribute could just be
> equivalent to @(attribute) and look up "attribute" in the local scope, following
> the usual rules. This would look much better than the bracket syntax, at least
> in my opinion, and avoid confusion with array literals.

[ ] vs @( ) is a completely separate issue.



More information about the Digitalmars-d-announce mailing list