erase stxxl::deque

2008-02-25
2013-04-25
  • Nobody/Anonymous

    Hi,

    I'm using deque from stxxl v 1.1.0. Is there any way to use a function like erase() in order to erase one specific value from my queue?

    Thanks,
    John

     
    • Nobody/Anonymous

      Hi John,

      This function is not implemented yet. A possible implementation will not be very efficient: it will need linear processing time + Theta(n/(DB)) I/Os. Therefore one should avoid using the erase operation for deque.

      Best,
      Roman

       

Log in to post a comment.