Boost logo

Boost :

Subject: Re: [boost] [variant2] Need rationale for never-empty guarantee
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2019-03-02 22:12:18


On Sat, Mar 2, 2019 at 12:12 AM Andrzej Krzemienski via Boost <
boost_at_[hidden]> wrote:
>
> sob., 2 mar 2019 o 07:35 Emil Dotchevski via Boost <boost_at_[hidden]>
> > It's just better if all elephants you encounter are grey, even if they
show
> > up where you don't expect them. :)
>
> I sort of understand this point of view. But to me it sounds like an
> aesthetic goal rather than a practical or technical one.

How is it an aesthetic goal when I say that it's best if the objects don't
get in a funny state in which they explode except if you destroy them?

Keep in mind, we're talking about error-handling code which is always
difficult to test.


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