How to capture a variable number of arguments lambda?
template <typename... Args> void foo(Args... args) { auto lambda = [](){}; // как захватить args? } How to capture a variable number of arguments lambda?
template <typename... Args> void foo(Args... args) { auto lambda = [](){}; // как захватить args? } Source: https://ru.stackoverflow.com/questions/914787/
All Articles