Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66297 - trunk/libs/iostreams/doc/concepts
From: dnljms_at_[hidden]
Date: 2010-10-31 15:40:21


Author: danieljames
Date: 2010-10-31 15:40:20 EDT (Sun, 31 Oct 2010)
New Revision: 66297
URL: http://svn.boost.org/trac/boost/changeset/66297

Log:
Fix `write` return type in sink concept.

Thanks to Timothy Madden:
http://lists.boost.org/boost-docs/2010/09/4191.php
Text files modified:
   trunk/libs/iostreams/doc/concepts/sink.html | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/iostreams/doc/concepts/sink.html
==============================================================================
--- trunk/libs/iostreams/doc/concepts/sink.html (original)
+++ trunk/libs/iostreams/doc/concepts/sink.html 2010-10-31 15:40:20 EDT (Sun, 31 Oct 2010)
@@ -47,7 +47,7 @@
 <PRE CLASS="broken_ie"><SPAN CLASS="keyword">struct</SPAN> Sink {
     <SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">char</SPAN> char_type;
     <SPAN CLASS="keyword">typedef</SPAN> sink_tag category;
- <SPAN CLASS="keyword">void</SPAN> write(<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, std::streamsize n)
+ std::streamsize write(<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, std::streamsize n)
     {
         <SPAN CLASS="comment">// Write up to n characters from the buffer
         // s to the output sequence, returning the


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