Subject: Re: [boost] [gsoc-2013] Boost.Expected
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2013-04-24 12:02:24
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?
I don't think anything in the standard throws in its destructor. (C++14
might add the ability to detect whether you are already unwinding, so that
might help here, although it is still questionable.)
I was imagining just an excepted<likely_type, error_type> class. I forgot
about the novel throwing behaviour.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk