You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the public API is using std::function<...> in many places. We should replace std::function with a adiar::function alias, such that we can (if need be) implement our own alternative to std::function (for example, #200 might call for it).
std::function<...> -> adiar::function<...>
Furthermore, it is hard to figure out what the purpose of the function is merely based on the type (without reading the documentation). We ought to provide much easier to read type aliases:
Currently, the public API is using
std::function<...>
in many places. We should replacestd::function
with aadiar::function
alias, such that we can (if need be) implement our own alternative tostd::function
(for example, #200 might call for it).std::function<...>
->adiar::function<...>
Furthermore, it is hard to figure out what the purpose of the function is merely based on the type (without reading the documentation). We ought to provide much easier to read type aliases:
std::function<bool(label_t)
->adiar::predicate<label_t>
std::function<void(label_t)
->adiar::consumer<label_t>
std::function<label_t()
->adiar::coroutine<label_t>
oradiar::producer<label_t>
The text was updated successfully, but these errors were encountered: