tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
input_or_output_iterator.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_ITERATOR_INPUT_OR_OUTPUT_ITERATOR_HPP
4
#define TETL_ITERATOR_INPUT_OR_OUTPUT_ITERATOR_HPP
5
6
#include <
etl/_concepts/weakly_equality_comparable_with.hpp
>
7
#include <
etl/_iterator/can_reference.hpp
>
8
#include <
etl/_iterator/weakly_incrementable.hpp
>
9
10
namespace
etl
{
11
12
// clang-format off
13
template
<
typename
Iter>
14
concept
input_or_output_iterator
=
weakly_incrementable<Iter>
and
requires
(Iter it) {
15
{ *it } -> detail::can_reference;
16
};
17
// clang-format on
18
19
}
// namespace etl
20
21
#endif
// TETL_ITERATOR_INPUT_OR_OUTPUT_ITERATOR_HPP
can_reference.hpp
etl::input_or_output_iterator
Definition
input_or_output_iterator.hpp:14
etl::weakly_incrementable
Definition
weakly_incrementable.hpp:16
etl
Definition
adjacent_find.hpp:8
weakly_equality_comparable_with.hpp
weakly_incrementable.hpp
include
etl
_iterator
input_or_output_iterator.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0