For ridiculous reasons, I need the following generic variadic lambda function. GCC 5.3.0 on MINGW-w64 is rejecting it. column is a function template.
auto col = [&run](auto&&... params){return column(run,params);}; //error
Diagnostics:
..\src\RunOutputData.cpp: In lambda function:
..\src\RunOutputData.cpp:94:64: error: parameter packs not expanded with '...':
auto col = [&run](auto&&... params){return column(run,params);};
^
..\src\RunOutputData.cpp:94:64: note: 'params'
template<class CT> auto run_col(Run<CT>const&run){return [&](auto&&... params){ return column(run,std::forward<decltype(params)>(params)...);};}instantiated withauto col = run_col(run);appears to work. Alsoauto col = [&run](auto&&... p){return column(run,std::forward<decltype(p)>(p)...);};appears to work.