tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iterator_t.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_RANGES_ITERATOR_T_HPP
5#define TETL_RANGES_ITERATOR_T_HPP
6
7#include <etl/_ranges/begin.hpp>
8#include <etl/_type_traits/declval.hpp>
9
10namespace etl::ranges {
11
12/// \ingroup ranges
13template <typename T>
14using iterator_t = decltype(etl::ranges::begin(etl::declval<T&>()));
15
16} // namespace etl::ranges
17
18#endif // TETL_RANGES_ITERATOR_T_HPP
constexpr auto begin
Definition begin.hpp:62
Definition ranges_in_fun_result.hpp:12
Definition adjacent_find.hpp:9