This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Shouldn't advance be defined for ostream_iterator?


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) {}
};



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]