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