pool_alloc with Pair Associative Container?

5 May
2004
5 May
'04
8:45 p.m.
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@imsa.edu>
7706
Age (days ago)
7706
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas