stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-986) typo in User's Guide, 2.3.1 Input Stream Iterators
Date Thu, 03 Jul 2008 03:48:44 GMT
typo in User's Guide, 2.3.1 Input Stream Iterators
--------------------------------------------------

                 Key: STDCXX-986
                 URL: https://issues.apache.org/jira/browse/STDCXX-986
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 4.2.1
            Reporter: Martin Sebor
            Priority: Minor
             Fix For: 4.2.2


As noted in this [post|http://markmail.org/message/qanhqogq25wscyc3], there's a typo in section
[2.3|http://stdcxx.apache.org/doc/stdlibug/2-3.html] of the User's Guide. The snippet of code
doesn't compile.

{quote}
I saw strange example in Apache C++ Standard Library User's Guide

http://stdcxx.apache.org/doc/stdlibug/2-3.html

{{std::istream_iterator<int, char>::iterator where = std::find(intstream, eof, 7);}}

I didn't compile this example.

I don't understand why it need {{::itrerator}} and why compiler didn't compile it?

Is it wrong example?
{quote}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message