C++ variadic templates: elegant way of listing all array elements depending on variadic template size

后端 未结 0 1907
星月不相逢
星月不相逢 2020-11-22 17:34

Is there some elegant way to express a function call depending on some n which can be derived from template arguments

f(my_array[0], ... , my_arr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题