SPAN></SPAN>                    eof_;
};

} } } <SPAN CLASS="comment">// End namespace boost::iostreams:example</SPAN></PRE>

<P>The function <CODE>get</CODE> is implemented as follows:</P>

<PRE class="broken_ie">    <SPAN CLASS="keyword">template</SPAN>&lt;<SPAN CLASS="keyword">typename</SPAN> Source&gt;
    <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
    {
        <SPAN CLASS='comment'>// Handle unfinished business.</SPAN>
        <SPAN CLASS="keyword">if</SPAN> (off_ !