killer, I have tested with GNU compiler on Solaris and vxWorks Tornado, it seems that Solaris has no problem but Tornado crashed. This depends on compilers. Strictly speaking, we shouldn't write inline virtual functions.
numnum, i have a question: Can i define virtual function as inline? Thanks