view-flat.C 691 B

1234567891011121314151617181920212223242526272829303132
  1. // -*- mode: c++; coding: utf-8 -*-
  2. /// @file view-flat.C
  3. /// @brief Can I do View<Iota>, or what does it look like?
  4. // (c) Daniel Llorens - 2018
  5. // This library is free software; you can redistribute it and/or modify it under
  6. // the terms of the GNU Lesser General Public License as published by the Free
  7. // Software Foundation; either version 3 of the License, or (at your option) any
  8. // later version.
  9. #include "ra/operators.H"
  10. #include "ra/io.H"
  11. #include "ra/test.H"
  12. #include "ra/format.H"
  13. #include <iomanip>
  14. #include <chrono>
  15. using std::cout, std::endl, std::flush;
  16. namespace ra {
  17. } // namespace ra
  18. int main()
  19. {
  20. auto a = ra::iota(12);
  21. cout << a << endl;
  22. return 0;
  23. }