Skip to content

Instantly share code, notes, and snippets.

@PoisonousJohn
Created May 15, 2013 20:38
Show Gist options
  • Save PoisonousJohn/5587175 to your computer and use it in GitHub Desktop.
Save PoisonousJohn/5587175 to your computer and use it in GitHub Desktop.
Ther is a class
class Boo : public SuperBoo {
Foo* fFoo1;
Foo* fFoo2;
// ...
}
where foo is a monomorphic class, and Boo owns pointers fFoo1 and fFoo2
task: overload operator= for Boo
that's all >_<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment