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
tLongLongToDoubleHashMap.

Thanks!
Thomas

-- 
Thomas <hazard_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk