stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
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
             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|], there's a typo in section
[2.3|] of the User's Guide. The snippet of code
doesn't compile.

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

{{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?

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

View raw message