¡@

Home 

c++ Programming Glossary: x_array

Calling a function for each variadic template argument and an array

http://stackoverflow.com/questions/12030538/calling-a-function-for-each-variadic-template-argument-and-an-array

x_out const T arg_in and then a function g void g const X x_array size_t x_array_size I need to write a variadic template function.. arg_in and then a function g void g const X x_array size_t x_array_size I need to write a variadic template function h that does.. constexpr size_t nargs sizeof... args get number of args X x_array nargs create X array of that size for int i 0 i nargs i foreach..