The future of UDAs.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Nov 29 05:58:33 PST 2012


On 11/29/12 5:25 AM, Walter Bright wrote:
> 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.

Could be attached to the module declaration.

Andrei


More information about the Digitalmars-d mailing list