Ben Combee wrote:
 >
... BTW, CW doesn't do vtable-bypass optimizations, as far as I remember, so a stack-allocated object would not be able to use virtual functions in a no-global situation.


Well, I use gcc. Looks like it does bypass the vtable, even with -g and -O0 flags.
Since the real type is known at compile time we really wouldn't need the vtable unless, as you say, you hand the object to another function using a pointer.


/Dan

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to