E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::invocable_returning Concept Reference

Specifies that the function Op, when called with arguments of types Args..., returns a value convertible to R. More...

#include <eve/concept/invocable.hpp>

Detailed Description

Template Parameters
OpThe function type
RThe expected return type
ArgsThe arguments types

Concept definition

template<typename Op, typename R, typename... Args>
concept eve::invocable_returning = requires (Op op, Args&& ... args) {
{ op(std::forward<Args>(args)...) } -> std::convertible_to<R>;
}
Specifies that the function Op, when called with arguments of types Args..., returns a value converti...
Definition invocable.hpp:113