dimanche 16 novembre 2014

Implementation vector::insert() c++


Vote count:

-2




I have problems with my implementation of std::vector, specifically with the function



iterator insert (const_iterator position, const value_type& val){}


I don't know how to work with iterators, because I know that I have to copy myvector to another container and then insert the value in the correct position.


Here is the explanation of insert() http://ift.tt/1uB8OfU



asked 1 min ago







Implementation vector::insert() c++

Aucun commentaire:

Enregistrer un commentaire