
"Kazutoshi Satoda" <k_satoda@f2.dion.ne.jp> wrote in message news:4CCCA801.7000209@f2.dion.ne.jp...
Domagoj Saric wrote:
this 'overhead' of a few static pointers is completely insignificant compared to various related code bloat issues...
That should be true. But unfortunately, the overhead of static pointers are actually significant while they are not const, at least for me.
In my implementation the vtables as well as the pointers inside them are const (actually they are references on compilers which support references to functions)...Actually my policy from the beginning was to make const just about everything that can be made const... ;) -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman