Abraxas/Meyers: Effective C++ Home Table of Contents
class Widget {
public:
Widget();
~Widget();
Widget& operator=( const Widget& rhs )
}
Function Name: operator=()
{return *this; // good
};
class Widget {
public:
Widget();
~Widget();
Widget& operator=( const Widget& rhs )
}
Function Name: operator=()
{return (rhs) ; // rule 10
};
Abraxas/Meyers: Effective C++ Home Table of Contents