typeof()
J Arrizza
cppgent0 at gmail.com
Wed Oct 19 23:50:08 PDT 2011
typeof returns the type of the object given to it:
SomeClass sc;
typeof(sc) // returns SomeClass
Object o = sc;
typeof(o) // returns Object
Is there a way or call to get the underlying type?:
typeof2(o) //returns SomeClass
I checked the online doc, but nothing in the Declarations section that I
could see.
Thanks
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111019/cb92e6e1/attachment.html>
More information about the Digitalmars-d
mailing list