is it THAT difficult to check that? (what I read recently, using
typeid(Sphere)==typeid(*b->shape) might be faster than dynamic_cast).
Where "sphere" is a pointer to an existing Sphere?
"typeid" replaces getCLassIndex?

Not THAT difficult, but given my number of not-so-difficult TODO's, with half hours compilation times, and changing conventions all the time, I prefer to ask first.


Thanks.

Bruno

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to