Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::concepts::CallableWith Concept Reference

Concept to check if a callable can be invoked with given argument types. More...

#include <concepts.hpp>

Concept definition

template<typename F, typename... T>
concept templa::concepts::CallableWith = requires(F f, T &&...t) {
{ f(std::forward<T>(t)...) };
}
Concept to check if a callable can be invoked with given argument types.
Definition concepts.hpp:45

Detailed Description

Concept to check if a callable can be invoked with given argument types.

Requires that F can be called with arguments of types T&&...

Template Parameters
FCallable type.
TArgument types.