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
3
#ifndef TETL_ITERATOR_SENTINEL_FOR_HPP
4
#define TETL_ITERATOR_SENTINEL_FOR_HPP
5
6
#include <
etl/_concepts/semiregular.hpp
>
7
#include <
etl/_concepts/weakly_equality_comparable_with.hpp
>
8
#include <
etl/_iterator/input_or_output_iterator.hpp
>
9
10
namespace
etl
{
11
13
template
<
typename
S,
typename
Iter>
14
concept
sentinel_for
=
semiregular<S>
and
input_or_output_iterator<Iter>
and
weakly_equality_comparable_with<S, Iter>
;
15
16
}
// namespace etl
17
18
#endif
// TETL_ITERATOR_SENTINEL_FOR_HPP
etl::input_or_output_iterator
Definition
input_or_output_iterator.hpp:14
etl::semiregular
Definition
semiregular.hpp:13
etl::sentinel_for
Definition
sentinel_for.hpp:14
etl::weakly_equality_comparable_with
Definition
weakly_equality_comparable_with.hpp:18
input_or_output_iterator.hpp
etl
Definition
adjacent_find.hpp:8
semiregular.hpp
weakly_equality_comparable_with.hpp
include
etl
_iterator
sentinel_for.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0