Author: sebor
Date: Tue Jul 8 14:24:24 2008
New Revision: 674961
URL: http://svn.apache.org/viewvc?rev=674961&view=rev
Log:
2008-07-08 Martin Sebor <[EMAIL PROTECTED]>
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/trunk/doc/stdlibug/2-3.html
Modified: stdcxx/trunk/doc/stdlibug/2-3.html
URL:
http://svn.apache.org/viewvc/stdcxx/trunk/doc/stdlibug/2-3.html?rev=674961&r1=674960&r2=674961&view=diff
==============================================================================
--- stdcxx/trunk/doc/stdlibug/2-3.html (original)
+++ stdcxx/trunk/doc/stdlibug/2-3.html Tue Jul 8 14:24:24 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<int, char> intstream(std::cin), eof;
-std::istream_iterator<int, char>::iterator where =
+std::istream_iterator<int, char> 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>