fork(2) download
  1. #include <iostream>
  2. #include <boost/range/irange.hpp>
  3.  
  4. int main() {
  5. for (auto i: boost::irange(1, 20, 5)) {
  6. std::cout << i << std::endl;
  7. }
  8. return 0;
  9. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
1
6
11
16