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

Regularly invocable with argument types Args (std::invocable). More...

#include <StormByte/type_traits/relations.hxx>

Concept definition

template<typename F, typename... Args>
concept StormByte::Type::Invocable = std::invocable<F, Args...>
Regularly invocable with argument types Args (std::invocable).
Definition relations.hxx:94

Detailed Description

Regularly invocable with argument types Args (std::invocable).

Template Parameters
FCallable type.
ArgsArgument types passed to F.

Not StormByte::Type::Callable. That only checks std::is_invocable. This also requires the invocation to be equality-preserving.

template<typename F, typename... Args>
requires Type::Invocable<F, Args...>
decltype(auto) call(F&& func, Args&&... args);