Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::InvocableWith Concept Reference

std::invoke(f, args...) is valid. More...

#include <ah-concepts.H>

Concept definition

template<typename F, typename... Args>
concept Aleph::InvocableWith = std::invocable<F, Args...>
std::invoke(f, args...) is valid.
FFT< double > F

Detailed Description

std::invoke(f, args...) is valid.

Like CallableWith, but the call goes through std::invoke, so a pointer to member also qualifies: &Point::get_x can be passed where an operation on a Point is expected. Constrain with it only the functions that make the call with std::invoke; a plain call f(args...) cannot use a member pointer.

Template Parameters
Fcallable type, including its reference/const category.
Argsargument types, including their reference/const category.

Definition at line 550 of file ah-concepts.H.