tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
invocable.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_INVOCABLE_HPP
5
#
define
TETL_CONCEPTS_INVOCABLE_HPP
6
7
#
include
<
etl
/
_functional
/
invoke
.
hpp
>
8
#
include
<
etl
/
_utility
/
forward
.
hpp
>
9
10
namespace
etl
{
11
12
/// \ingroup concepts
13
template
<
typename
F,
typename
... Args>
14
concept
invocable =
requires
(F&& f, Args&&... args) {
etl
::invoke(
etl
::forward<F>(f),
etl
::forward<Args>(args)...); };
15
16
}
// namespace etl
17
18
#
endif
// TETL_CONCEPTS_INVOCABLE_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_concepts
invocable.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8