#include</span> <span class="special">&lt;</span><span class="identifier">streambuf</span><span class="special">&gt;</span>  <span class="comment">// for std::streambuf</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">ostream</span><span class="special">&gt;</span>    <span class="comment">// for std::ostream</span>

<span class="keyword">class</span> <span class="identifier">fdoutbuf</span>
  <span class="special">:</span> <span class="keyword">pub