Q:

Explain the differences among the three kinds of insert iterators

0

Explain the differences among the three kinds of insert iterators.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

`back_inserter` always inserts element at the end of the container by calling `c.push_back()`.

`front_inserter` always inserts element at the beginning of the container by calling `c.push_front()`.

`inserter` always insert element at the front of the same given element in the container by calling `c.insert()`.

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now