Boost logo

Boost :

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


On 17/10/2018 14:10, Steven Watanabe wrote:
> That's not correct. If an object has static storage duration
> and a trivial destructor, then it is never "destroyed."
> Its storage exists "for the lifetime of the program" [basic.stc.static]
> and its lifetime ends when "the storage which the object
> occupies is reused or released" [basic.life]

Which occurs when the shared library that contains its storage is unloaded.

The standard completely ignores the existence of shared libraries, so
you're not on particularly stable ground. :)


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