Boost logo

Boost :

Subject: Re: [boost] Any interest in static plugins?
From: Dave van Soest (dsoest_at_[hidden])
Date: 2009-12-04 13:37:40


On 12/04/2009 03:11 AM, OvermindDL1 wrote:

>> You could make it safe with the static initialization by making sure that
>> the Factory Manager is initialized before it is used. For your use case, I
>> think it would be sufficient to instantiate the Factory Manager inside of
>> the function that returns it (Get() below):
>
> Which is what I do in the code I demonstrated, as I said... I am
> quite sure my emails are going to the list just fine...

Jeremy, your code example also has many similarities with the code in my
library. So, now I'm interested why you aren't using this approach...
What kind of troubles do you have with it?


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