Ray's playground

 

Item 9: Never call virtual functions during construction or destruction(Effective C++)

Don't call virtual functions during construction or destruction, because such calls will never go to a more derived class than that of the currently executing constructor or destructor.

posted on 2009-12-27 09:43  Ray Z  阅读(196)  评论(0编辑  收藏  举报

导航