#include <tuple.h>
详细描述
The constructor of
ForEach
allows to iterate over the values of a variadic parameter. The iteration will happen in the correct order. Example:
template
<
typename
... T> T Sum(T... values)
{
T s = T();
ForEach
{s += values...};
return
s;
}