Adam D. Ruppe:

If you want to compare the runtime type of a class object, you can do:

if(typeid(obj_one) == typeid(obj_two))

that should tell you if they are the same dynamic class type.

And what about:

if (is(typeof(obj_one) == typeof(obj_two)))

Bye,
bearophile

Reply via email to