tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
sentinel_t.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2024 Tobias Hienzsch
3
4
#
ifndef
TETL_RANGES_SENTINEL_T_HPP
5
#
define
TETL_RANGES_SENTINEL_T_HPP
6
7
#
include
<
etl
/
_ranges
/
end
.
hpp
>
8
#
include
<
etl
/
_ranges
/
range
.
hpp
>
9
#
include
<
etl
/
_type_traits
/
declval
.
hpp
>
10
11
namespace
etl
::
ranges
{
12
13
/// \ingroup ranges
14
template
<etl::ranges::range R>
15
using
sentinel_t =
decltype
(
etl
::
ranges
::
end
(
etl
::declval<R&>()
)
);
16
17
}
// namespace etl::ranges
18
19
#
endif
// TETL_RANGES_SENTINEL_T_HPP
etl::ranges::cpo::end
constexpr auto end
Definition
end.hpp:57
etl::ranges
Definition
ranges_in_fun_result.hpp:12
etl
Definition
adjacent_find.hpp:9
include
etl
_ranges
sentinel_t.hpp
Generated on Sun Sep 7 2025 19:15:16 for tetl by
1.9.8