Skip to content

Instantly share code, notes, and snippets.

View kantoniak's full-sized avatar

Krzysztof (Chris) Antoniak kantoniak

View GitHub Profile
@kantoniak
kantoniak / cpp-variadic-a.cpp
Last active February 27, 2017 16:08
Simple variadic template example
#include <iostream>
using namespace std;
// Support single argument
auto sumElements() {
return 0;
}
template <typename T, typename... Ts>