Shouldn't advance be defined for ostream_iterator?

Neal D. Becker nbecker@hns.com
Tue Feb 3 15:10:00 GMT 2004


ostream_iterator has operator++ (nop), but no generic advance.  I believe
advance should be defined:

namespace std {
  template<class T, class charT, class traits, typename dist_t>
  inline void advance (ostream_iterator<T,charT,traits>, dist_t) {}
};




More information about the Libstdc++ mailing list