tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iter_reference_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_ITERATOR_ITER_REFERENCE_T_HPP
5#define TETL_ITERATOR_ITER_REFERENCE_T_HPP
6
7#include <etl/_iterator/dereferenceable.hpp>
8#include <etl/_type_traits/declval.hpp>
9
10namespace etl {
11
12template <etl::detail::dereferenceable T>
13using iter_reference_t = decltype(*etl::declval<T&>());
14
15} // namespace etl
16
17#endif // TETL_ITERATOR_ITER_REFERENCE_T_HPP
Definition adjacent_find.hpp:9