
3 Jun
2017
3 Jun
'17
7:40 a.m.
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...
Now with some preliminary documentation: https://github.com/pdimov/variant2/blob/develop/doc/expected.md