tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
can_reference.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_CAN_REFERENCE_HPP
5#define TETL_ITERATOR_CAN_REFERENCE_HPP
6
7namespace etl::detail {
8
9template <typename T>
10using with_reference = T&;
11
12template <typename T>
13concept can_reference = requires { typename with_reference<T>; };
14
15} // namespace etl::detail
16
17#endif // TETL_ITERATOR_CAN_REFERENCE_HPP
Definition adjacent_find.hpp:9