Boost logo

Boost :

Subject: Re: [boost] [outcome] How to drop the formal empty state
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-25 17:58:27


> Niall Douglas wrote:
>
> > I'd choose uninitialised bytes or default constructing T before default
> > constructing E to a null error_code.
>
> I'd choose (by a factor of 10^3) a singular empty state before
> uninitialized bytes. If it comes to that.

In fact, seeing people suggest default-constructing to uninitialized bytes
is a very strong argument - in fact the strongest argument so far - in favor
of having a formal empty state. I almost regret I brought that up.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk