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

#include <CGAL/IO/Ostream_iterator.h>

Definition

template<typename T, typename Stream>
class CGAL::Ostream_iterator< T, Stream >

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.