CGAL 5.5 - IO Streams
CGAL::Ostream_iterator< T, Stream > Class Template Reference

#include <CGAL/IO/Ostream_iterator.h>

Definition

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

Is Model Of:
OutputIterator

Implementation

The operator*() in class Ostream_iterator uses a proxy class.

Creation

 Ostream_iterator (Stream &s)
 creates an output iterator writing to s.