|
Boost : |
Subject: Re: [boost] [outcome] success-or-failure objects
From: VinÃcius dos Santos Oliveira (vini.ipsmaker_at_[hidden])
Date: 2018-01-23 14:13:07
2018-01-23 11:05 GMT-03:00 Peter Dimov via Boost <boost_at_[hidden]>:
> VinÃcius dos Santos Oliveira wrote:
>
>> > Outcomeâs default is to not provide value-or-error objects. It provides
>> > success-or-failure objects.
>>
>> What does that even mean?
>>
>
> I assume this refers to the choice to model a struct and not a union; that
> is, to store both an error and a value, not one or the other.
>
The term he uses is a "or", not an "and". And it is very confusing. The
fact that you're guessing a completely different direction from mine just
gives point to my argument.
-- VinÃcius dos Santos Oliveira https://vinipsmaker.github.io/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk