typeid of surrounding class from a static function?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Nov 6 14:55:03 PST 2011


On 11/6/11 7:34 AM, J Arrizza wrote:
> Hi,
>
> I'm trying to get the name of the surrounding class from within a static
> method of the class:

typeof(this) works inside static methods too.

Andrei



More information about the Digitalmars-d mailing list