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
3#ifndef TETL_ITERATOR_CAN_REFERENCE_HPP
4#define TETL_ITERATOR_CAN_REFERENCE_HPP
5
6namespace etl::detail {
7
8template <typename T>
9using with_reference = T&;
10
11template <typename T>
12concept can_reference = requires { typename with_reference<T>; };
13
14} // namespace etl::detail
15
16#endif // TETL_ITERATOR_CAN_REFERENCE_HPP