The future of UDAs.

Walter Bright newshound2 at digitalmars.com
Thu Nov 29 02:25:41 PST 2012


On 11/29/2012 6:40 PM, Jacob Carlborg wrote:
> On 2012-11-29 03:00, Walter Bright wrote:
>
>> An attribute would bring along with it the notion of having some static
>> constructors care about dependencies and others not. A pragma would be
>> global to the module.
>
> Why can't the attribute be global to the module?
>

Because attributes attach to the declarations they enclose. A global 
attribute would be something else.


More information about the Digitalmars-d mailing list