|
Boost : |
From: Joel Eidsath (jeidsath_at_[hidden])
Date: 2005-09-30 13:49:00
>
>
>I haven't personally worked with the pool allocators much, so perhaps my
>suggestion was misplaced. I was thinking that you wanted a pool that
>allocated only enough memory for a single instance, rather than a single
>instance of a pool that could store many objects. Anyhow, to use
>aligned_storage like I was thinking, you might do something like:
>
>
>-Jason
>
You're right, that wasn't what I was attempting. I was looking for
something that worked liked singleton_pool but cleaned up objects like
object_pool. On the other hand, thanks for your code. It helped me
understand aligned_storage better.
Joel Eidsath
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk