#SOreadytohelp
combining python and c++ for the greater good
for (auto&& i : range(1, 10, 2)) { ... }
for (auto&& p : enumerate(vec)) { ... }
for (auto&& n : imap([] (int i) { return i*i; }, vec)) { ... }
#SOreadytohelp
combining python and c++ for the greater good
for (auto&& i : range(1, 10, 2)) { ... }
for (auto&& p : enumerate(vec)) { ... }
for (auto&& n : imap([] (int i) { return i*i; }, vec)) { ... }