Time for std.reflection

Adam Wilson flyboynw at gmail.com
Sat Jul 21 14:59:06 PDT 2012


On Sat, 21 Jul 2012 14:51:30 -0700, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> On Saturday, July 21, 2012 17:44:51 Andrei Alexandrescu wrote:
>> With this design we unify compile-time and run-time type manipulation in
>> simple ways, by defining structured information about declarations that
>> can be queried during compilation or dynamically.
>>
>> Please chime in with thoughts.
>
> Are you proposing that we replace std.traits or that std.reflection be  
> built on
> top of it?
>
> Having std.reflection will be awesome for a lot of stuff - particularly  
> the more
> complicated stuff - and would be a great addition to Phobos, but it  
> seems like
> overkill for a lot of basic template constraints, so I wouldn't want to  
> see it
> replace std.traits.
>
> - Jonathan M Davis

I too would want it in a different module But my read of Andrei's proposal  
is that it would be.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/


More information about the Digitalmars-d mailing list