$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gregory Dai (gregory.dai_at_[hidden])
Date: 2008-03-29 16:22:25
I was able to use something like the following:
boost::object_pool<std::set<int> > front;
but I'd instead want to be able to use:
boost::object_pool<int> back;
boost::object_pool<std::set<int, boost::object_pool<int> > front(back);
which is not possible because the object_pool does not conform to the
standard allocator interface. For the time being it's possible to do:
boost::object_pool<std::set<int, boost::pool_allocator<int> > front;
but an element set from the pool does not interact well with a plain
std::set<int>.
Any suggestion on a solution?
Thanks,
Greg