Boost logo

Boost :

Subject: [boost] [outcome] expected vs. result
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2017-05-23 08:21:52

I am trying to summarize differences between `expected<T, error_code>` and
`result<T>`. So far, I have identified the following:
1. API/ABI stability guarantees.
2. `result` has empty state - `expected` does not.
3. `result` uses error_code_extended for more error details in the
4. No ordering (operator<) for `result`

Is the above list complete?


Boost list run by bdawes at, gregod at, cpdaniel at, john at