Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::CoroutineFunction Concept Reference

Concept for functions that can be used as coroutine bodies. Such functions must be invocable with a Coroutine& argument. More...

#include <Coroutine.hpp>

Concept definition

template<typename Fn>
concept util::CoroutineFunction = std::invocable<Fn, Coroutine&> and not std::is_reference_v<Fn>
Concept for functions that can be used as coroutine bodies. Such functions must be invocable with a C...
Definition Coroutine.hpp:49

Detailed Description

Concept for functions that can be used as coroutine bodies. Such functions must be invocable with a Coroutine& argument.

Template Parameters
FnThe function type to check.