...
This rule appears in the C++ Secure Coding Standard as OBJ30-CPP. A class should not invoke its own virtual functions in its constructors or destructors..
References
Wiki Markup |
---|
\[[JLS 05|AA. Java References#JLS 05]\] [Chapter 8, Classes|http://java.sun.com/docs/books/jls/third_edition/html/classes.html] \[[SCG 07|AA. Java References#SCG 07]\] Guideline 4-3 Prevent constructors from calling methods that can be overridden |
...