Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::invocable_ Concept Reference

The invocable_ concept. More...

#include <range/v3/functional/concepts.hpp>

Concept definition

template<typename Fun, typename... Args>
concept ranges::invocable_ = requires( Fun && fn ) { invoke((Fun &&) fn, std::declval<Args>()...) ; }
The invocable_ concept.
Definition: concepts.hpp:44
typename Fn::template invoke< Args... > invoke
Evaluate the invocable Fn with the arguments Args.
Definition: meta.hpp:541

Detailed Description

The invocable_ concept.