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
6
#include <
etl/_concepts/boolean_testable.hpp
>
7
#include <
etl/_concepts/regular_invocable.hpp
>
8
#include <
etl/_type_traits/invoke_result.hpp
>
9
10
namespace
etl
{
11
13
template
<
typename
F,
typename
... Args>
14
concept
predicate
=
regular_invocable
<F, Args...> and
boolean_testable
<invoke_result_t<F, Args...>>;
15
16
}
// namespace etl
17
18
#endif
// TETL_CONCEPTS_PREDICATE_HPP
boolean_testable.hpp
etl::boolean_testable
Definition
boolean_testable.hpp:20
etl::predicate
Definition
predicate.hpp:14
etl::regular_invocable
Definition
regular_invocable.hpp:12
invoke_result.hpp
etl
Definition
adjacent_find.hpp:8
regular_invocable.hpp
include
etl
_concepts
predicate.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0