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
// SPDX-FileCopyrightText: Copyright (C) 2023 Tobias Hienzsch
3
4
#
ifndef
TETL_CONCEPTS_PREDICATE_HPP
5
#
define
TETL_CONCEPTS_PREDICATE_HPP
6
7
#
include
<
etl
/
_concepts
/
boolean_testable
.
hpp
>
8
#
include
<
etl
/
_concepts
/
regular_invocable
.
hpp
>
9
#
include
<
etl
/
_type_traits
/
invoke_result
.
hpp
>
10
11
namespace
etl
{
12
13
/// \ingroup concepts
14
template
<
typename
F,
typename
... Args>
15
concept
predicate = regular_invocable<F, Args...>
and
boolean_testable<invoke_result_t<F, Args...>>;
16
17
}
// namespace etl
18
19
#
endif
// TETL_CONCEPTS_PREDICATE_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_concepts
predicate.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8