tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
predicate.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CONCEPTS_PREDICATE_HPP
4#define TETL_CONCEPTS_PREDICATE_HPP
5
9
10namespace etl {
11
13template <typename F, typename... Args>
14concept predicate = regular_invocable<F, Args...> and boolean_testable<invoke_result_t<F, Args...>>;
15
16} // namespace etl
17
18#endif // TETL_CONCEPTS_PREDICATE_HPP
Definition boolean_testable.hpp:20
Definition predicate.hpp:14
Definition regular_invocable.hpp:12
Definition adjacent_find.hpp:8