For an insert iterator, iter, the following are true:
1. *iter is a no-op that returns iter
2. iter = value; calls one of push_back(),
push_front(), or insert().
3. iter = value; behaves the same as
*iter = value; but *iter = value; is
the preferred syntax.
Reference: The C++ Standard Library: A Tutorial and ReferenceSaturday, July 10, 2010
Insert Iterators
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment