So, User-Defined Attributes

Philippe Sigaud philippe.sigaud at gmail.com
Sun Jan 6 10:21:54 PST 2013


On Sun, Jan 6, 2013 at 3:29 PM, Jacob Carlborg <doob at me.com> wrote:

>
> Yeah, if you want to work with UDA's you need to work with symbols, not
> values or types. If you want to pass a symbol, including its UDA, you need
> to pass it as an alias:
>

That was the explanation I needed: UDA are attached to symbols. Now that's,
clearer ;)

Hmm, did anyone try to put attribute before a function overload and not
another?

Ca

(PS: symbols, except modules, because they are second-class citizens)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130106/28a9a621/attachment.html>


More information about the Digitalmars-d mailing list