Custom attributes (again)

Johannes Pfau nospam at example.com
Fri Apr 6 03:33:45 PDT 2012


Am Fri, 06 Apr 2012 03:06:51 -0700
schrieb Walter Bright <newshound2 at digitalmars.com>:

> On 4/6/2012 2:41 AM, Johannes Pfau wrote:
> > The last time custom attributes where discussed, a C# like model was
> > proposed. Is there a good reason why we should deviate from the C#
> > implementation?
> 
> C# uses a runtime implementation, not a compile time one.

OK, but my post was only about the syntax, there's no runtime/compile
time specific part in it (the struct's constructor has to be called
using CTFE instead of at runtime, but that's the only difference I see)


More information about the Digitalmars-d mailing list