$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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]>