User Defined Attributes

Adam D. Ruppe destructionator at gmail.com
Tue Nov 6 05:17:12 PST 2012


On Tuesday, 6 November 2012 at 13:08:15 UTC, Jacob Carlborg wrote:
> Also have a more key-value like mapping, something like this:

We can always use custom types to get this kind of thing.

struct key { string value; }

[key("value")] foo


More information about the Digitalmars-d-announce mailing list