Writes successive elements onto the output stream from which it was constructed.
More...
#include <rw/vstream.h>
Inherits iterator< std::output_iterator_tag, void, void, void, void >.
template<typename T>
class RWvostreamIterator< T >
Class RWvostreamIterator writes (using operator<<
) successive elements onto the output stream from which it was constructed. It is not possible to get a value out of the output iterator. Its only use is as an output iterator in situations like the following.
while (first != last) {
*result++ = *first++;
}
Constructs an iterator that will insert data to the stream s.
Returns a reference to self.
Returns a reference to self.
Returns a reference to self.
Inserts value onto the underlying stream and Returns a reference to self.