ecor
Loading...
Searching...
No Matches
ecor::receiver_for Concept Reference

Concept for receivers that can handle a specific sender's completion signatures. More...

#include <ecor.hpp>

Concept definition

template<typename R, typename S>
receiver< R > && _receiver_for_impl< R, _sender_completions_t< S, env_type< R > > >::value
Concept for receivers that can handle a specific sender's completion signatures.
Definition: ecor.hpp:899
Concept for receivers, requires that the member type receiver_concept derives from receiver_t,...
Definition: ecor.hpp:838

Detailed Description

Concept for receivers that can handle a specific sender's completion signatures.

Requires that R satisfies the receiver concept and has the callable member functions required by every signature in the completion signatures of sender S (queried with R's own environment). Use this to constrain connect() overloads to receivers that are compatible with a given sender type.