Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Foo.hpp"
- #include "Bar.hpp"
- class Foo {
- private:
- Bar* ptr = new Bar();
- };
- Bar b = *(new Bar());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement