User Defined Attributes

Max Samukha maxsamukha at gmail.com
Tue Nov 6 11:42:34 PST 2012


On Tuesday, 6 November 2012 at 19:12:54 UTC, Walter Bright wrote:

> As for the return value attributes, I think that can be handled 
> by attributing the function symbol itself, as it can only have 
> one return type.

Theoretically there might be cases requiring an attribute of the 
same class both on the function and on the return value. Then 
differentiation of function and return value attributes would be 
necessary. Anybody has an example?


More information about the Digitalmars-d-announce mailing list