view-flat.cc 645 B

123456789101112131415161718192021222324252627282930
  1. // -*- mode: c++; coding: utf-8 -*-
  2. /// @file view-flat.cc
  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/ra.hh"
  10. #include "ra/test.hh"
  11. #include <iomanip>
  12. #include <chrono>
  13. using std::cout, std::endl, std::flush;
  14. namespace ra {
  15. } // namespace ra
  16. int main()
  17. {
  18. auto a = ra::iota(12);
  19. cout << a << endl;
  20. return 0;
  21. }