|
variadic templates
|
#include <cstdarg>#include <iostream>
Go to the source code of this file.
Functions | |
| int | sum1 (int count,...) |
| template<typename T > | |
| constexpr auto | sum2 (T arg) |
| template<typename T , typename... Args> | |
| constexpr auto | sum2 (T first, Args... args) |
| int | main () |
| int sum1 | ( | int | count, |
| ... | |||
| ) |
|
constexpr |