Custom attributes (again)

Marco Leise Marco.Leise at gmx.de
Sun Apr 8 05:39:03 PDT 2012


Am Sun, 08 Apr 2012 12:44:17 +0200
schrieb Jacob Carlborg <doob at me.com>:

> On 2012-04-08 09:27, Marco Leise wrote:
> > I don't want this thread to disappear. The ideas presented here have common basic features among the nice-to-haves.
> 
> > For these to work it would require:
> > - user annotations to functions/methods/structs/classes
> > - only CTFE support (as annotations don't change at runtime)
> 
> I don't see why the attributes should be accessible at runtime. Even if 
> they're read-only it's still good to be able to read the attributes at 
> runtime.
> 

Yeah, it was supposed to mean "it requires CTFE support, runtime support is possible" :)

-- 
Marco



More information about the Digitalmars-d mailing list