Om
om
sink
stream_sink.hpp
Go to the documentation of this file.
1
15
#ifndef Om_Sink_StreamSink_
16
17
#define Om_Sink_StreamSink_ \
18
Om::Sink::StreamSink
19
20
#include "
om/sink/iterator_sink.hpp
"
21
22
namespace
Om
{
23
24
namespace
Sink {
25
26
// MARK: - Om::Sink::StreamSink
27
32
template
<
typename
ThisItem =
char
>
33
class
StreamSink
:
34
public
IteratorSink
<
35
ThisItem const,
36
std::ostreambuf_iterator<ThisItem>
37
> {
38
39
public
:
// MARK: public (non-static)
40
41
explicit
StreamSink
(std::ostream &);
42
43
};
44
45
}
46
47
}
48
49
#include "
om/sink/stream_sink.cpp
"
50
51
#endif
Om::Sink::IteratorSink
A Sink adapter for an output iterator.
Definition:
iterator_sink.hpp:43
Om::Sink::StreamSink
A Sink adapter for an output stream.
Definition:
stream_sink.hpp:37
Om::Sink::StreamSink::StreamSink
StreamSink(std::ostream &)
iterator_sink.hpp
Om header file.
Om
The Om library.
Definition:
code_point.hpp:26
stream_sink.cpp
Om source file.
Generated by
1.9.1