Boost logo

Boost :

Subject: Re: [boost] "peer reviewed" - Rights and responsibilities of maintainers
From: Gavin Lambert (boost_at_[hidden])
Date: 2018-10-17 02:16:45


On 17/10/2018 14:08, Peter Dimov wrote:
> Gavin Lambert wrote:
>
>> Technically it's UB to access a global bool after "destruction" (just
>> like any other object)...
>
> The only way to destroy a bool is to placement-new some other object
> over it, if I'm not mistaken. :-)
>
> (Or, if it's in a union, you can assign to some other member, I suppose.)

The quotes were significant, not merely for emphasis.


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