tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
sentinel_for.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2023 Tobias Hienzsch
3
4
#
ifndef
TETL_ITERATOR_SENTINEL_FOR_HPP
5
#
define
TETL_ITERATOR_SENTINEL_FOR_HPP
6
7
#
include
<
etl
/
_concepts
/
semiregular
.
hpp
>
8
#
include
<
etl
/
_concepts
/
weakly_equality_comparable_with
.
hpp
>
9
#
include
<
etl
/
_iterator
/
input_or_output_iterator
.
hpp
>
10
11
namespace
etl
{
12
13
/// \ingroup iterator
14
template
<
typename
S,
typename
Iter>
15
concept
sentinel_for = semiregular<S>
and
input_or_output_iterator<Iter>
and
weakly_equality_comparable_with<S, Iter>;
16
17
}
// namespace etl
18
19
#
endif
// TETL_ITERATOR_SENTINEL_FOR_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_iterator
sentinel_for.hpp
Generated on Sun Sep 7 2025 19:15:07 for tetl by
1.9.8