Relative Content

Tag Archive for c++iterator

Regarding another SO question about std::back_insert_iterator

I’m trying to understand std::back_inserter and std::back_insert_iterator, and I read this Stack overflow question and the answers. As far as I understand, the answers say the operator *, ++, ++( int ) exist for a reason. But if I understand correctly, the code in that question does nothing regarding operators *,++,++(int). Also, cppreference.com says that the operators *, ++, ++( int ) are no-op.