Abraxas/Meyers: Effective C++  Home  Table of Contents

Module - m09.html

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite

Meyers: Effective C++ Test Suite for Module - m09.cpp

// Item 9: Never call virtual functions during construction or destruction. 48

class Trans {
public:
	Trans();
	virtual void logTrans() const = 0;
};



Function Name: Trans()

Trans::Trans() {
	logTrans();	// rule 9
}

Abraxas/Meyers: Effective C++  Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite