Skip to content

Instantly share code, notes, and snippets.

@mryoshio
Created April 5, 2014 08:48
Show Gist options
  • Save mryoshio/9989222 to your computer and use it in GitHub Desktop.
Save mryoshio/9989222 to your computer and use it in GitHub Desktop.
variadic template sample2
int main()
{
cout << "first: ";
f(1, 2.2, "hello");
cout << "\nsecond: ";
f(0.2, 'c', "yuck!", 0, 1, 2);
cout << "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment