compiler support added for precise GC

Steven Schveighoffer schveiguy at yahoo.com
Wed Apr 18 10:20:26 PDT 2012


On Wed, 18 Apr 2012 09:59:10 -0400, Jacob Carlborg <doob at me.com> wrote:

> On 2012-04-18 03:11, Nick Sabalausky wrote:
>> Can't you just query compile-time information to see what classes  
>> inherit
>> from Base? Then you could just try downcasting to them.
>
> Is that possible?

No.  Not from within a template that doesn't know about those classes  
(which presumably your serialization function is).

-Steve


More information about the Digitalmars-d mailing list