От: | rg45 | ||
Дата: | 18.12.18 18:09 | ||
Оценка: |
V>#include "range/v3/view/cartesian_product.hpp"
V> . . .
V> for (const auto v : ranges::view::cartesian_product(as, bs, cs)) {
V> auto[a, b, c] = v;
V> std::cout << a << " " << b << " " << c << '\n';
V> }
V>