您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38 行
882B

  1. /// \file
  2. // Range v3 library
  3. //
  4. // Copyright Eric Niebler 2014-present
  5. //
  6. // Use, modification and distribution is subject to the
  7. // Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt)
  10. //
  11. // Project home: https://github.com/ericniebler/range-v3
  12. //
  13. #ifndef RANGES_V3_ITERATOR_DEFAULT_SENTINEL_HPP
  14. #define RANGES_V3_ITERATOR_DEFAULT_SENTINEL_HPP
  15. #include <range/v3/detail/config.hpp>
  16. #include <range/v3/utility/static_const.hpp>
  17. namespace ranges
  18. {
  19. /// \addtogroup group-iterator
  20. /// @{
  21. struct default_sentinel_t
  22. {};
  23. // Default sentinel
  24. RANGES_INLINE_VARIABLE(default_sentinel_t, default_sentinel)
  25. namespace cpp20
  26. {
  27. using ranges::default_sentinel;
  28. using ranges::default_sentinel_t;
  29. } // namespace cpp20
  30. /// @}
  31. } // namespace ranges
  32. #endif