StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Type::InvocableR Concept Reference

Invocable with argument types Args and a result convertible to R (std::is_invocable_r). More...

#include <StormByte/type_traits/relations.hxx>

Concept definition

template<typename R, typename F, typename... Args>
concept StormByte::Type::InvocableR = std::is_invocable_r_v<R, F, Args...>
Invocable with argument types Args and a result convertible to R (std::is_invocable_r).
Definition relations.hxx:109

Detailed Description

Invocable with argument types Args and a result convertible to R (std::is_invocable_r).

Template Parameters
RExpected result type.
FCallable type.
ArgsArgument types passed to F.
template<typename F, typename... Args>
requires Type::InvocableR<bool, F, Args...>
bool test(F&& func, Args&&... args);