User Defined Attributes
Walter Bright
newshound2 at digitalmars.com
Tue Nov 6 00:42:43 PST 2012
On 11/6/2012 12:39 AM, Jakob Ovrum wrote:> On Tuesday, 6 November 2012 at
07:55:51 UTC, Walter Bright wrote:
>> -snip-
>
> It doesn't look like it would be possible to schedule any runtime code using
> this, meaning they're not usable for stuff like registering types for
> serialization support, or doing runtime linking when attached to a function
> pointer, etc.
Since D allows one to inquire and get a list of symbols, one can then iterate
over them at compile time to determine which are serializable (or have some
other specific attribute).
More information about the Digitalmars-d-announce
mailing list