|
Boost : |
Subject: Re: [boost] [gsoc-2013] Boost.Expected
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2013-04-24 13:49:34
On Wed, Apr 24, 2013 at 12:47 PM, Vicente J. Botet Escriba <
vicente.botet_at_[hidden]> wrote:
> Le 24/04/13 18:02, Gottlob Frege a écrit :
>
> One thing I missed in this conversation:
>>
>> Are we considering the Alexandrescu behaviour of throwing in the
>> destructor
>> if the expected<> has not been read?
>>
> Why would you want to that?
I didn't say I did, but some might. And the Alexandrescu version (which
was referenced as one design) works that way.
>
>
>> I was imagining just an excepted<likely_type, error_type> class. I forgot
>> about the novel throwing behaviour.
>>
>
> This will correspond to expected_or_error.
>
>
I'm hoping for just one class, not multiple.
> Best,
> Vicente
>
>
>
Tony
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk