Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Bitmap { /* ... */ };
- class Okno {
- public: /* ... */
- private: Bitmap* b; /* ... */ };
- Okno& operator=(const Okno& o)
- { Bitmap* old = b;
- b = new Bitmap(*o.b);
- delete old;
- return *this; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement