Debian Codegraph @

3rd_party/range-v3/range/v3/iterator/default_sentinel.hpp

raw
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
16 #include <range/v3/detail/config.hpp>
17 #include <range/v3/utility/static_const.hpp>
18
19 #include <range/v3/detail/prologue.hpp>
20
21 namespace ranges
22 {
23 /// \addtogroup group-iterator
24 /// @{
25 struct default_sentinel_t
26 {};
27
28 // Default sentinel
29 RANGES_INLINE_VARIABLE(default_sentinel_t, default_sentinel)
30
31 namespace cpp20
32 {
33 using ranges::default_sentinel;
34 using ranges::default_sentinel_t;
35 } // namespace cpp20
36 /// @}
37 } // namespace ranges
38
39 #include <range/v3/detail/epilogue.hpp>
40
41 #endif