yword"><SPAN CLASS="keyword">int</SPAN></SPAN>  line_length_;
    <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN>  col_no_;
};

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

<P>Let's look first at the definition of the helper function <CODE>put_char</CODE>:</P>

<PRE class="broken_ie">    <SPAN CLASS="keyword">void</SPAN> put_char(<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
    {
        std::cout.put(c);
        <SPAN CLASS="keyword">