Created
June 16, 2015 23:52
-
-
Save chrisdembia/e51efac57f09f19a758b to your computer and use it in GitHub Desktop.
Revisions
-
chrisdembia created this gist
Jun 16, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ template<IN, OUT, OUTSET> static OUT generateSet(const IN& input) { OUTSET output(input.getSize()); for (int i = 0; i < input.getSize(); ++i) { output[i] = OUT(); output[i].setName(input[i].getName()); } }