Boost logo

Boost Users :

From: Filip Konvička (filip.konvicka_at_[hidden])
Date: 2008-03-28 08:51:18


>> Thanks a lot. The object_pool approach doesn't work; it causes also a segmentation fault.
>> The option of explicitly allocating the object does work fine.
>
> Make sure you use a recent compiler and Boost. I have seen pool
> segfaulting on some not-so-old platforms, especially with pool_allocator
> being used with nested containers. I found out that with Boost 1.34.1,
> g++ 4.3.0 and MSVC 9.0 all works fine.

I've looked into the pool.hpp commitlog and it seems that the error I
mentioned ("vector of vectors" or similar usage) was fixed 2005-1-19, so
it probably never was a compiler issue.

Filip


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