10 Nov
2005
10 Nov
'05
6:11 p.m.
Hi! 1) You can't have virtual static members. 2) The main reason behind the TINFO mechanism was to avoid a virtual function call. This and some other optimizations sped up GiNaC by a factor of two. 3) If you're planning to re-introduce virtual functions to GiNaC's RTTI, you might as well use typeid() (maybe it works better now than it did five years ago). 4) structure<T> implements a dynamic TINFO assignment, if you want to look at one. Bye, Christian -- / Physics is an algorithm \/ www.cebix.net