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>
Ostream_iterator<T,Stream> o ( Stream& s); | |
creates an output
iterator o writing to s.
|
o fulfills the requirements for an output iterator.
The operator*() in class Ostream_iterator<T,Stream> uses a proxy class.