Insertion into stxxl::vector at a specific position

2014-05-09
2014-05-10
  • Sriram Mahavadi

    Sriram Mahavadi - 2014-05-09

    Is it possible to insert an item at a particular position into an stxxl::vector.

    Just as we have in std::vector.insert(iterator of position, value);

    Is there any way to do this.

     
  • Timo Bingmann

    Timo Bingmann - 2014-05-10

    There is no insert() function, as this cannot be support by an external vector efficiently in the general case.

    What could be added/implemented is inserting a block of elements in the block sequence behind the vector.

     

Log in to post a comment.