Right now I am using stxxl library in one of my project to support large file. But I am stuck with one requirement that I can't still manage which is std::vector insert like functionality. In my project I need to insert values in between just like std::vector.
I would appreciate if some one could help me.
if I understand you correctly, you try to insert (i.e. push_back()) some std::vector's into a stxxl::vector ?
Note that the Value_Type (= element type of contained objects) of a stxxl::vector must be a POD (= a struct (or class) without constructors, destructors and virtual members functions) with no references to internal memory.
Consequently, you can't push_back() a std::vector to a stxxl::vector.
See http://stxxl.sourceforge.net/tags/master/design_vector.html for further details on stxxl::vector.