Horizon
Loading...
Searching...
No Matches
default_sentinel.hpp
Go to the documentation of this file.
1
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
21namespace ranges
22{
26 {};
27
28 // Default sentinel
29 RANGES_INLINE_VARIABLE(default_sentinel_t, default_sentinel)
30
31 namespace cpp20
32 {
33 using ranges::default_sentinel;
35 } // namespace cpp20
37} // namespace ranges
38
39#include <range/v3/detail/epilogue.hpp>
40
41#endif
Definition default_sentinel.hpp:26