tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
weakly_equality_comparable_with.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CONCEPTS_WEAKLY_EQUALITY_COMPAREABLE_WITH_HPP
4#define TETL_CONCEPTS_WEAKLY_EQUALITY_COMPAREABLE_WITH_HPP
5
9
10namespace etl {
11
12// clang-format off
13
17template<typename T, typename U>
19 { t == u } -> boolean_testable;
20 { t != u } -> boolean_testable;
21 { u == t } -> boolean_testable;
22 { u != t } -> boolean_testable;
23};
24
25// clang-format on
26
27} // namespace etl
28
29#endif // TETL_CONCEPTS_WEAKLY_EQUALITY_COMPAREABLE_WITH_HPP
Definition boolean_testable.hpp:20
Definition weakly_equality_comparable_with.hpp:18
typename remove_reference< T >::type remove_reference_t
Definition remove_reference.hpp:28
Definition adjacent_find.hpp:8