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
11namespace etl {
12
13/// \ingroup iterator
14template <typename S, typename Iter>
15concept 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
Definition adjacent_find.hpp:9