Skip to content
Snippets Groups Projects
Unverified Commit 74e911e6 authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Replace `util::either` with `util::expected`. (#1142)

* Implement a workalike for the proposed `std::expected` class: see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0323r9.html .
* Replace use of `either` with `expected` in `mprovider`, `mechanism_catalogue`, `util::partition_range`, and `pyarb::hopefully`.
* Replace use of `either` with `variant` in `util::sentinel_iterator`.
* Add `in_place_t` constructor for `util::optional`.
* Fix move assignment bug in `util::variant`.
* Remove `util/either.hpp` and associated tests.

Fixes #1135. 
parent 74411404
No related branches found
No related tags found
No related merge requests found
Showing with 972 additions and 556 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment