Author: sebor
Date: Wed Jul 2 20:52:09 2008
New Revision: 673573
URL: http://svn.apache.org/viewvc?rev=673573&view=rev
Log:
2008-07-02 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-986
* doc/stdlibug/2-3.html (2.3.1 Input Stream Iterators): Corrected
a typo in example code.
Modified:
stdcxx/branches/4.2.x/doc/stdlibug/2-3.html
Modified: stdcxx/branches/4.2.x/doc/stdlibug/2-3.html
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/doc/stdlibug/2-3.html?rev=673573&r1=673572&r2=673573&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/doc/stdlibug/2-3.html (original)
+++ stdcxx/branches/4.2.x/doc/stdlibug/2-3.html Wed Jul 2 20:52:09 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>