ptal / expected

What did you expect?
113 stars 18 forks source link

Add a make function to expected<E,holder> #53

Closed viboes closed 10 years ago

viboes commented 10 years ago

This function can be used as

auto e = expected<errc>::make(2);
viboes commented 10 years ago

https://github.com/ptal/Boost.Expected/commit/e8a705996bc2281d95d034cfcbb8a5897dc693f9