Boost logo

Boost :

Subject: Re: [boost] [variant2] Andrzej's review
From: degski (degski_at_[hidden])
Date: 2019-04-13 04:40:28


On Sat, 13 Apr 2019 at 00:47, Vinnie Falco via Boost <boost_at_[hidden]>
wrote:

> If I want/need a variant that offers the never-empty basic guarantee
> then Boost should not provide it?
>

Andrzej argues (in the other post) that you *shouldn't want* it, becoz it
masks UB [result of programmer error] and will now cause havoc elsewhere in
the program. Additionally he says he does not want to 'pay' for moving the
bug elsewhere, as it's not worth paying for, and potentially [more]
dangerous.

degski

-- 
*Microsoft, please kill Paint3D*

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