fork(1) download
  1. #include <iostream>
  2. #include <array>
  3.  
  4. template <int N>
  5. std::array<int, N> range()
  6. {
  7. return {{}};
  8. }
  9.  
  10. int main()
  11. {
  12. for (auto x : range<5>())
  13. {
  14. std::cout << "Awesome\n";
  15. }
  16. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
Awesome
Awesome
Awesome
Awesome
Awesome