Boost logo

Boost :

Subject: Re: [boost] "peer reviewed" - Rights and responsibilities of maintainers
From: Peter Dimov (lists_at_[hidden])
Date: 2018-10-17 01:08:34


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.)


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