Skip to content

Instantly share code, notes, and snippets.

@kaskavalci
Created September 26, 2015 10:50
Show Gist options
  • Save kaskavalci/5458e6e7348d75bcc108 to your computer and use it in GitHub Desktop.
Save kaskavalci/5458e6e7348d75bcc108 to your computer and use it in GitHub Desktop.
ClassC *ClassCInstance = new ClassC();
for (i = 0; i < 10; ++i) {
myVector.push_back(ClassA(ClassCInstance));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment