semiregular_box.cpp 712 B

123456789101112131415161718192021222324252627282930313233
  1. // Range v3 library
  2. //
  3. // Copyright Eric Niebler 2020-present
  4. //
  5. // Use, modification and distribution is subject to the
  6. // Boost Software License, Version 1.0. (See accompanying
  7. // file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // Project home: https://github.com/ericniebler/range-v3
  11. #include <range/v3/utility/semiregular_box.hpp>
  12. #include "../simple_test.hpp"
  13. using namespace ranges;
  14. // #https://github.com/ericniebler/range-v3/issues/1499
  15. void test_1499()
  16. {
  17. ranges::semiregular_box_t<int> box1;
  18. ranges::semiregular_box_t<int &> box2;
  19. detail::ignore_unused(
  20. box1, //
  21. box2); //
  22. }
  23. int main()
  24. {
  25. test_1499();
  26. return ::test_result();
  27. }