Determine the "type" of a delegate

Steven Schveighoffer schveiguy at yahoo.com
Mon Mar 28 05:48:18 PDT 2011


On Sat, 26 Mar 2011 06:46:22 -0400, teo <teo.ubuntu at yahoo.com> wrote:

> Having a delegate d, I can use d.ptr to get a void* pointer to the
> environment used to construct the delegate. How can I determine from that
> pointer whether that is a class object?

AFAIK, you can't.

-Steve


More information about the Digitalmars-d mailing list