17 Oct
2018
17 Oct
'18
2:16 a.m.
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.