By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,820 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,820 IT Pros & Developers. It's quick & easy.

Memory manager for arrays wanted

P: n/a
I'm looking for a memory manager for arrays which I can use out of the box.
I'm already using Boost Pool (see http://www.boost.org/libs/pool/doc/).
Unfortunately it doesn't support arrays. As there is nothing in Boost I can
use I wonder if there is any other memory manager out there as trustworthy
as Boost code tends to be?

Boris
Jun 28 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Boris posted:
I'm looking for a memory manager for arrays which I can use out of the
box. I'm already using Boost Pool (see
http://www.boost.org/libs/pool/doc/). Unfortunately it doesn't support
arrays. As there is nothing in Boost I can use I wonder if there is
any other memory manager out there as trustworthy as Boost code tends
to be?

Boris

I'm not familiar with Boost or its pools, but maybe you can trick it into
using an array as follows:

template<class T, unsigned long len>
struct Array {

T array[len];

};
int main()
{
SomeSortOfPool< Array<int,64> > pool;
}

--

Frederick Gotham
Jun 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.