Can we create stxxl::vector of userdefined datatypes???
if so can anyone give an example of how to do it, when i tried to create i am getting the error
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can we create stxxl::vector of userdefined datatypes???
if so can anyone give an example of how to do it, when i tried to create i am getting the error
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Of course you can - just have a look at the example programs, e.g. containers/test_vector.cpp
Andreas
Concerning the bad_alloc - without some compilable example program that exhibits this behaviour it's impossible to debug this.