So, User-Defined Attributes

Philippe Sigaud philippe.sigaud at gmail.com
Sun Jan 6 01:48:06 PST 2013


On Sun, Jan 6, 2013 at 8:16 AM, Walter Bright <newshound2 at digitalmars.com>wrote:
>
>
>> UDA can not apply to function argument?
>>
>>
> Currently, no.
>

Walter, what is the official way to return an attributed value?

XXX? foo()
{
    @Marked int i;
    return i;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130106/ea49c3b4/attachment.html>


More information about the Digitalmars-d mailing list