On 2/21/12 4:34 AM, deadalnix wrote:
Le 20/02/2012 21:57, Andrei Alexandrescu a écrit :
class DRoxException : Exception
{
mixin(enableRTTI);
... normal implementation ...
}


Andrei



Why not using std.rtti and generate run time reflection info from
compile time reflexion capability ?

This would enable that feature without writing it the language, so it
would prevent to bloat the binary when size matter and reflexion isn't
needed.

Yes, that's the idea.

Andrei

Reply via email to