Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

[Monads] Generalize the unwrap function #15

Open
viboes opened this issue Apr 4, 2014 · 0 comments
Open

[Monads] Generalize the unwrap function #15

viboes opened this issue Apr 4, 2014 · 0 comments
Assignees

Comments

@viboes
Copy link
Collaborator

viboes commented Apr 4, 2014

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.

@viboes viboes changed the title Generalize the unwrap algorithm [Monads] Generalize the unwrap algorithm Apr 6, 2014
@viboes viboes modified the milestone: Rasperwil Apr 6, 2014
@viboes viboes assigned ptal and viboes and unassigned ptal Apr 19, 2014
@viboes viboes changed the title [Monads] Generalize the unwrap algorithm [Monads] Generalize the unwrap function Apr 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants