Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2005-08-29 18:26:40


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Elisha Berns
> Sent: Monday, August 29, 2005 4:17 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Boost.Thread memory leak reported
>
>
> Peter Dimov wrote:
>
> > C++ doesn't guarantee a particular initialization order for
> file scope
> > objects in different translation units, so we have to
> resort to local
> > statics or call_once.
>
> I hear you, I hear the point. I don't have a good solution
> to this, but I hope someone does!

What about having a single singleton solely responsible for initializing
all the other ones?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net