How'd I store possible types for each item of a list of Variants ?

Ali Çehreli acehreli at yahoo.com
Fri Sep 20 10:13:49 UTC 2019


On 09/20/2019 01:58 AM, oleobal wrote:

 > My understanding is D has no dynamic dispatch,

That's too general. :) D has dynamic dispatch through virtual functions.

I don't understand everything here but I think the 'typeid' expression 
and the 'TypeInfo' class hierarnhy that it returns can be useful in this 
case.

Ali



More information about the Digitalmars-d-learn mailing list