Attribute inference for auto functions?

Dicebot m.strashun at gmail.com
Sat Apr 20 00:03:54 PDT 2013


On Saturday, 20 April 2013 at 06:32:50 UTC, deadalnix wrote:
> On Saturday, 20 April 2013 at 06:24:36 UTC, Walter Bright wrote:
>>> In general we lack a mechanism to choose what an attribute 
>>> bind to.
>>
>> No, we don't. The attribute binds to the declaration.
>>
>
> In general we lack a mechanism to choose what direction we turn 
> to.
> No, we don't. We always turn to the right.

I am quite sure Walter has meant that linkage attribute was not 
supposed to be tied to a type by design. If you want to use it, 
you need a symbol (==declaration) and there can be only one at a 
time.



More information about the Digitalmars-d mailing list