typeid of surrounding class from a static function?
J Arrizza
cppgent0 at gmail.com
Sun Nov 6 12:36:29 PST 2011
On Sun, Nov 6, 2011 at 9:14 AM, Alex Rønne Petersen <xtzgzorex at gmail.com>wrote:
>
> Considering the class is statically known, typeid(SomeClass)?
>
> - Alex
>
Sorry, my simplified example simplified too far. I'd like to put the call
into a mixin template or template, so hard-coding the class name is not an
option.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111106/04762e02/attachment.html>
More information about the Digitalmars-d
mailing list