CGAL 6.0.1 - IO Streams
Loading...
Searching...
No Matches
CGAL::Ostream_iterator< T, Stream > Class Template Reference

#include <CGAL/IO/Ostream_iterator.h>

Definition

template<class T, class 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.