Standard C++ Library Reference ISO/IEC (VERSION3)

ostream_iterator::traits_type
typedef Tr traits_type;
The type is a synonym for the template parameter Tr.
ostreambuf_iterator
template<class Elem, class Tr = char_traits<Elem> >
class ostreambuf_iterator
: public iterator<output_iterator_tag,
void, void, void, void> {
public:
typedef Elem char_type;
typedef Tr traits_type;
typedef basic_streambuf<Elem, Tr> streambuf_type;
typedef basic_ostream<Elem, Tr> ostream_type;
ostreambuf_iterator(streambuf_type *stebuf) throw();
ostreambuf_iterator(ostream_type& ostr) throw();
ostreambuf_iterator& operator=(Elem ch);
ostreambuf_iterator& operator*();
ostreambuf_iterator& operator++();
T1 operator++(int);
bool failed() const throw();
};
The template class describes an output iterator object. It inserts elements of class Elem into an output
stream buffer, which it accesses via an object it stores, of type pointer to
basic_streambuf<Elem, Tr>.
ostreambuf_iterator::char_type
typedef Elem char_type;
The type is a synonym for the template parameter Elem.
ostreambuf_iterator::failed
bool failed() const throw();
The member function returns true only if no insertion into the output stream buffer has earlier failed.
ostreambuf_iterator::operator*
ostreambuf_iterator& operator*();
The operator returns *this.