Skip to content

Instantly share code, notes, and snippets.

@Zetaeta
Created May 24, 2013 21:37
Show Gist options
  • Save Zetaeta/5646688 to your computer and use it in GitHub Desktop.
Save Zetaeta/5646688 to your computer and use it in GitHub Desktop.
Template function example.
template <class T>
void print(T object) {
std::cout << object;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment