Search This Blog

Thursday, July 2, 2009

Important facts you must know about C++ STL

2 comments:

  1. Vector is usually preferable to deque and list. Deque is useful in the case of frequent insertions at both the beginning and end of the sequence, and list and slist are useful in the case of frequent insertions in the middle of the sequence. In almost all other situations, vector is more efficient.

    ReplyDelete
  2. STL uses Generic Programming and avoid using Object Oriented Programming concepts.

    ReplyDelete