21 template<
class func_t,
class... containers_t>
24 auto iteration_func = [&]<
class container_t>(const container_t& container)
26 for (
const auto& elem : container)
30 (iteration_func(containers), ...);
void iterate_several_containers(const func_t &func, const containers_t &... containers)
Iterate several containers in a row with one func.