Arena/Linear allocators

Hi, I'm looking for arena/linear allocators, for use with multi_index, unordered_map and others. Does Boost provide anything like this? There's Boost Pool, but it only provides a singleton pool allocator. -- Olaf

Olaf van der Spek <ml <at> vdspek.org> writes:
Hi,
I'm looking for arena/linear allocators, for use with multi_index, unordered_map and others. Does Boost provide anything like this? There's Boost Pool, but it only provides a singleton pool allocator.
Have a look at the proposed Boost.Monotonic (http://svn.boost.org/svn/boost/sandbox/monotonic/libs/monotonic/doc/html/ind...) library. It seems to provide this functionality. Evan

On Thu, Mar 29, 2012 at 4:28 AM, Evan Wallace <onlyone@senet.com.au> wrote:
Olaf van der Spek <ml <at> vdspek.org> writes:
Hi,
I'm looking for arena/linear allocators, for use with multi_index, unordered_map and others. Does Boost provide anything like this? There's Boost Pool, but it only provides a singleton pool allocator.
Have a look at the proposed Boost.Monotonic (http://svn.boost.org/svn/boost/sandbox/monotonic/libs/monotonic/doc/html/ind...) library. It seems to provide this functionality.
Looks interesting, but unfortunately it also appears to be dead. -- Olaf
participants (2)
-
Evan Wallace
-
Olaf van der Spek