FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cxx11-test-variadic_templates.cpp File Reference

Go to the source code of this file.

Functions

int Accumulate ()
 
template<typename T , typename... Ts>
int Accumulate (T v, Ts...vs)
 
template<int... Is>
int CountElements ()
 
int main ()
 

Function Documentation

int Accumulate ( )

Definition at line 1 of file cxx11-test-variadic_templates.cpp.

template<typename T , typename... Ts>
int Accumulate ( v,
Ts...  vs 
)

Definition at line 7 of file cxx11-test-variadic_templates.cpp.

template<int... Is>
int CountElements ( )

Definition at line 13 of file cxx11-test-variadic_templates.cpp.

int main ( void  )

Definition at line 18 of file cxx11-test-variadic_templates.cpp.