I am discovering stxxl. I decided to play a bit with vector. I tried calling export_files to see if it was possible to serialize vector to disk. It looks as if the function is unimplemented, see line 196:
Does anyone knows how to serialize stxxl::vector for later simulations ?
The export_files() method is only intended for use with a special case type (fileperblock_file) that you don't want to use.
For persistent data you usually bind the vector to a file:
typedef stxxl::VECTOR_GENERATOR<my_type, ...>::result vector_type;
stxxl::syscall_file my_file("my.data", stxxl::file::RDWR | stxxl::file::CREAT);
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.