blob: 5881040417ab8937963941504071f18633b80619 (
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;
}
};
|