|
Boost : |
Subject: Re: [boost] [pool] Definition of a static_pool ?
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-04-25 22:29:02
On Thu, Apr 26, 2012 at 06:38, Christopher Kormanyos <e_float_at_[hidden]>wrote:
> I also need entirely static pools that allocate memory at *compile* time
> via template parameter.
> I use this kind of pool as the basis for memory allocation in embedded
> microcontroller projects.
>
> So I would actually need one-shot allocation (as you describe) as well as
> compile-time allocation.
>
> I have always written my own pools for this. I might be nice to get one
> *off the rack* from boost.
>
Same here, I use both runtime defined size pools and compile-time defined
size pools.
About singleton_pool, my understanding is that it provide a totally
orthogonal feature to this static_pool...right?
Joel Lamotte
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk