You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/07/08 23:24:05 UTC

svn commit: r674960 - /stdcxx/branches/4.3.x/doc/stdlibug/2-3.html

Author: sebor
Date: Tue Jul  8 14:24:05 2008
New Revision: 674960

URL: http://svn.apache.org/viewvc?rev=674960&view=rev
Log:
2008-07-08  Martin Sebor  <se...@roguewave.com>
	
	Merged rev 673573 from 4.2.x.
	
	STDCXX-986
	* doc/stdlibug/2-3.html (2.3.1 Input Stream Iterators): Corrected
	a typo in example code.

Modified:
    stdcxx/branches/4.3.x/doc/stdlibug/2-3.html

Modified: stdcxx/branches/4.3.x/doc/stdlibug/2-3.html
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/doc/stdlibug/2-3.html?rev=674960&r1=674959&r2=674960&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/doc/stdlibug/2-3.html (original)
+++ stdcxx/branches/4.3.x/doc/stdlibug/2-3.html Tue Jul  8 14:24:05 2008
@@ -15,7 +15,7 @@
     implied.   See  the License  for  the  specific language  governing
     permissions and limitations under the License.
 
-    Copyright 1999-2007 Rogue Wave Software, Inc.
+    Copyright 1999-2008 Rogue Wave Software, Inc.
 -->
 
 <HTML>
@@ -33,7 +33,7 @@
 
 <UL><PRE>
 std::istream_iterator&lt;int, char&gt; intstream(std::cin), eof;
-std::istream_iterator&lt;int, char&gt;::iterator where = 
+std::istream_iterator&lt;int, char&gt; where = 
          std::find(intstream, eof, 7);
 </PRE></UL>
 <P>The element denoted by an iterator for an input stream is valid only until the next element in the stream is requested. Also, since an input stream iterator is an input iterator, elements can only be accessed, not modified by assignment. Finally, elements can be accessed only once, and only in a forward moving direction.</P>