blob: 3f5a98d4e1a3d98f674ac111e7159ee81749bcc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class A : public B
{
A& operator=(const A& other){
if (this == &other)return *this;
B::operator=(other);
if (this == &other)return *this;
B::opera(other);
copy(other);
return *this;
}
};
|