typeid of surrounding class from a static function?

J Arrizza cppgent0 at gmail.com
Sun Nov 6 15:49:10 PST 2011


>
> typeof(this) works inside static methods too.
>
> Andrei
>
> Thanks.

I didn't try it. I guess previous C++ learning interfered...

So 'this' works in typeof(this), but just curious, does it have other
applications or meaning in static methods?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111106/9d9b719a/attachment.html>


More information about the Digitalmars-d mailing list