cppcoro icon indicating copy to clipboard operation
cppcoro copied to clipboard

Add expected<T, E> type

Open lewissbaker opened this issue 6 years ago • 0 comments

This is needed for #41.

Also consider adding support for using co_await to unwrap an expected<T,E> value inside a function that returns expected<U,E>. See https://github.com/toby-allsopp/coroutine_monad for inspiration.

lewissbaker avatar Aug 31 '17 04:08 lewissbaker