Boost logo

Boost :

Subject: Re: [boost] [outcome] High level summary of review feedback accepted so far
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-05-28 23:29:27

>>> I am not sure what semantics you have chosen for optional_expected<>.
>> optional_expected<T, ... > should be an optimize version of
>> optional<expected<T, ...>>.
> According to Niall's example, it was my understanding that his mental model
> was `expected<optional<T>, ...>`. That is, empty resutl means: no error
> ocurred, I successfully computed the non-value.

That code example I posted I deliberately overrode the default handling
of the empty state to mean no error occurred.


ned Productions Limited Consulting

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