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

Module - m24.html

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

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

// Item 24: Declare non-member functions when type conversions should apply to all parameters. 102

class Widget {
public:
	Widget();
	~Widget();
 Widget& operator*( const Widget& rhs, const Widget& rhs )	// rule 24, should this be a member?
 }



Function Name: operator*()

 {
};
 Widget& operator*( const Widget& rhs, const Widget& rhs )



Function Name: operator*()

 {
 }

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

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