User Defined Attributes

Jacob Carlborg doob at me.com
Tue Nov 6 10:19:58 PST 2012


On 2012-11-06 19:16, Walter Bright wrote:

> Then all UDAs must exist in some shared global name space, and scoping
> and encapsulation becomes like it is in C, i.e.
> every_body_writes_their_names_like_this and hopes it doesn't conflict
> with someone else's names.

No, what's the difference between this:

@every_body_writes_their_names_like_this int a;

And

["every_body_writes_their_names_like_this"] int a;

None.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list