Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
variadic template
//g++ 5.4.0 #include <iostream> using namespace std; void f() { cout << std::endl; } template<typename T, typename... Tail> void f(T header, Tail... tail) { cout << header << ","; f(tail...); } int main() { f<int, int,int>(1,2,3); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Wuninitialized
mergeSort
Anagram finder
BinomialPoisson
Parser + Str2Int
Fundamentos de programación. Tema 7. Ejercicio 6. Con funciones.
stack::swap_30-Seconds-of-C++
Matrix multiplication naive approach
BintTree vertical sum
C++ state machine prototype
Please log in to post a comment.