예제 #1
0
 void operator () (T1 x1, T2 x2, T3 x3) const
 {
     *stream << x1 << separator
             << x2 << separator
             << x3 << '\n';
     stream->flush();
 }
예제 #2
0
 void flush()
 {
     os_->write(begin_buffer_, (p_ - begin_buffer_));
     p_ = begin_buffer_;
     os_->flush();
 }
예제 #3
0
	~buffered_ostream()
	{
		os_->write(begin_buffer_, (p_ - begin_buffer_));
		os_->flush();
	}
예제 #4
0
 void operator () (T1 x1) const
 {
     *stream << x1 << '\n';
     stream->flush();
 }