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
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
boost/expected/algorithms/unwrap.hpp contains a function that can be generalized to other monads, as it is the case of expected<T>, optional<T> and future<T>.
The first question is in which namespace this function must be defined.
The second is if it is worth defining a default for monads that have only one argument or forward the call to a member function unwrap.
The text was updated successfully, but these errors were encountered:
viboes
changed the title
Generalize the unwrap algorithm
[Monads] Generalize the unwrap algorithm
Apr 6, 2014
boost/expected/algorithms/unwrap.hpp
contains a function that can be generalized to other monads, as it is the case ofexpected<T>
,optional<T>
andfuture<T>
.The first question is in which namespace this function must be defined.
The second is if it is worth defining a default for monads that have only one argument or forward the call to a member function unwrap.
The text was updated successfully, but these errors were encountered: