class Test
{
public:
char *str;
Test ();
Test (const char *s);
Test & operator=(const Test &rhs);
}
Test & Test::operator=(const Test &rhs)
*(this->str) = new chr();
*(this->str) = rhs.
return this;