Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-03-31 17:17:57

On Mon, Mar 31, 2008 at 6:35 PM, Robert Ramey <ramey_at_[hidden]> wrote:
> "Felipe Magno de Almeida" <felipe.m.almeida_at_[hidden]> wrote in message


> > Changing std::multiset to std::set would be enough, wouldn't it?
> Nope - that was exactly the problem. If the same type is used
> in different DLLS, then there will be multiple static objects created
> each loaded/unloaded as the dlls themselves are loaded/unloaded.

Sorry, now I understand. I forgot about the key_compare.
But it is possible to walk a equal_range and search for this address
before adding.
I'll patch my version and let you know if it works ok.
This should let multiple BOOST_CLASS_EXPORT works.

> Robert Ramey


Felipe Magno de Almeida

Boost list run by bdawes at, gregod at, cpdaniel at, john at