Last active
August 29, 2015 14:23
-
-
Save thiagomg/53e521337e2bc2c32710 to your computer and use it in GitHub Desktop.
Templates e geração de código
This file contains 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 characters
int sumNonTemplated(int a, int b) { | |
return a+b; | |
} | |
template <typename T> | |
T sumTemplated(T a, T b) { | |
return a+b; | |
} | |
void run() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment