## CGAL::Ostream_iterator<T,Stream>

### Definition

The class Ostream_iterator<T,Stream> is an output iterator adaptor for the output stream class Stream and value type T.

#include <CGAL/IO/Ostream_iterator.h>

### Creation

Ostream_iterator<T,Stream> o ( Stream& s);
| creates an output iterator o writing to s.

### Operations

o fulfills the requirements for an output iterator.

### Implementation

The operator*() in class Ostream_iterator<T,Stream> uses a proxy class.