Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-02-23 02:41:58


Author: turkanis
Date: 2008-02-23 02:41:57 EST (Sat, 23 Feb 2008)
New Revision: 43398
URL: http://svn.boost.org/trac/boost/changeset/43398

Log:
close only calls pop if a chain is complete
Text files modified:
   branches/iostreams_dev/libs/iostreams/doc/functions/close.html | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/iostreams_dev/libs/iostreams/doc/functions/close.html
==============================================================================
--- branches/iostreams_dev/libs/iostreams/doc/functions/close.html (original)
+++ branches/iostreams_dev/libs/iostreams/doc/functions/close.html 2008-02-23 02:41:57 EST (Sat, 23 Feb 2008)
@@ -156,17 +156,17 @@
 <PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN>&lt;<SPAN CLASS="keyword">typename</SPAN> T&gt;
 <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t, std::ios_base::openmode which);</PRE>
 
-<P>If <CODE>t</CODE> is a filtering stream or stream buffer, <CODE>close</CODE> calls pop. The semantics depends on its category as follows:</P>
+<P>If <CODE>t</CODE> is a filtering stream or stream buffer, <CODE>close</CODE> calls pop if <CODE>t</CODE> is complete. The semantics depends on its category as follows:</P>
 
 <TABLE STYLE="margin-left:2em" BORDER=1 CELLPADDING=4>
     <TR><TH><CODE>category&lt;T&gt;::type</CODE></TH><TH>semantics</TH></TR>
     <TR>
         <TD VALIGN="top">convertible to input but not to output</TD>
- <TD>calls <CODE>t.pop()</CODE> if <CODE>which == ios_base::in</CODE></TD>
+ <TD>calls <CODE>t.pop()</CODE> if <code>t</CODE> is complete and which == ios_base::in</CODE></TD>
     </TR>
     <TR>
         <TD VALIGN="top">otherwise</TD>
- <TD>calls <CODE>t.pop()</CODE> if <CODE>which == ios_base::out</CODE></TD>
+ <TD>calls <CODE>t.pop()</CODE> if <code>t</CODE> is complete and <CODE>which == ios_base::out</CODE></TD>
     </TR>
 </TABLE>
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk