我有模板函数可以将可变参数模板作为(例如)作为 (int, int, double)
(int, int, double)
template<class... Arg> void bubble(const Arg &...arg) { another_function(arg...); }
在函数内部,我必须使用不同的参数顺序调用(double, int, int)。我该如何实施?
(double, int, int)
c++ c++14
c++ ×1
c++14 ×1