Seg Fault using pool_allocator

4 Jan
2008
4 Jan
'08
12:31 a.m.
I am getting a seg fault on running the following code. _______________________________________________________________________ #include<map> #include<vector> #include<boost/pool/pool_alloc.hpp> typedef std::vector<double,boost::pool_allocator<double > > vector; int main() { std::map<unsigned long, vector> theStdMap; theStdMap[0]; } _________________________________________________________________________ I am using Ubuntu 7.10 AMD64 g++4.1 and g++4.2 boost 1.34.1 ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/
6366
Age (days ago)
6366
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nindi Singh