compile time class introspection?

serg why.you.need at my.email
Thu Jun 14 07:11:33 PDT 2007


Max Samukha Wrote:
> You might do it like this:
> ...
>             static if (is(typeof(T.OnClose)))
> ...

Yes, this is exactly what I was looked for!

Thanks, Max!

-- serg.


More information about the Digitalmars-d-learn mailing list