Boost logo

Boost :

From: Thomas (hazard_at_[hidden])
Date: 2004-05-05 15:45:14

Can someone give me an example of how to use the boost pool_alloc
allocator interface with a Pair Associative Container, like hash_map?
I tried doing something like
typedef hash_map<long long,double,longLongHasher,boost::pool_allocator<
pair<const long long,double> > > tLongLongToDoubleHashMap;

,,,but I get errors when I try to compile code that actually uses


Thomas <hazard_at_[hidden]>

Boost list run by bdawes at, gregod at, cpdaniel at, john at