T><A href="#when">When is <CODE>close</CODE> invoked?</DT>
  <DT><A href="#headers">Headers</A></DT>
  <DT><A href="#reference">Reference</A></DT>
</DL>

<A NAME="description"></A>
<H2>Description</H2>

<P>The Iostreams library provides three overloads of the function template <CODE>close</CODE>.</P>

<P>The first overload of <CODE>close</CODE> takes a single Device argument. It allows a user to close a Device without worrying whether the Device controls a single sequence or two sequences:</P>

<PRE CLASS="