Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Base {
- public:
- Base(Foo*);
- };
- class Derived {
- public:
- Derived() : Base(&foo) {}
- private:
- Foo foo;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement