2 Jun
2017
2 Jun
'17
3:56 p.m.
Andrzej Krzemienski wrote:
This is a valid point. If you need this tricky fourth state once in 1000 use cases, you can afford to use std::variant instead and leave without the convenience of `outcome`.
Or you could use expected<T, E...>, assuming we decide this is a direction worth pursuing. Proof of concept here: https://github.com/pdimov/variant2/blob/master/include/boost/variant2/expect...