tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_invocable_r.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_INVOCABLE_R_HPP
4#define TETL_TYPE_TRAITS_IS_INVOCABLE_R_HPP
5
8
9namespace etl {
10
11template <typename R, typename Fn, typename... ArgTypes>
12struct is_invocable_r : detail::is_invocable_impl<invoke_result<Fn, ArgTypes...>, R>::type { };
13
14template <typename R, typename Fn, typename... ArgTypes>
15inline constexpr auto is_invocable_r_v = is_invocable_r<R, Fn, ArgTypes...>::value;
16
17} // namespace etl
18
19#endif // TETL_TYPE_TRAITS_IS_INVOCABLE_R_HPP
Definition adjacent_find.hpp:8
constexpr auto is_invocable_r_v
Definition is_invocable_r.hpp:15
integral_constant< Type, Val > type
Definition integral_constant.hpp:12
Definition is_invocable_r.hpp:12