<A HREF="#close_device">Device types</A>, below.)

<H4><CODE>filtering_streambuf</CODE> and <CODE>filtering_stream</CODE></H4>

<P>
    A <A HREF="../classes/filtering_streambuf.html"><CODE>filtering_streambuf</CODE></A> or <A HREF="../classes/filtering_stream.html"><CODE>filtering_stream</CODE></A> is considered to be <I>closed</I> if its lifetime ends while its chain is complete or if its terminal Device is removed using <CODE>pop</CODE> or <CODE>reset</CODE>. When this occurs, the following sequence of c