[GiNaC-devel] tinfo
Christian Bauer
cb at cebix.net
Thu Nov 10 18:11:54 CET 2005
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
More information about the GiNaC-devel
mailing list