$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost::pool
From: Roman Shmelev (rshmelev_at_[hidden])
Date: 2009-11-05 13:48:36
> I actually did this at one time w/ the boost::pool by making my
> requested_size 1 byte, then doing an ordered_malloc(num_bytes).
>
> I'm not claiming that this is a good or a bad idea. But it did work.
Heh. And I've written my own class-bicycle, allocating some fixed-size
big chunks with boost::pool and then cutting needed blocks from them.
But there are many stones and details, like memory aligning, or making
object_pool from such pool.
So, probably professionally-written solution will cover such problems.