Title
Missing description of istream_iterator::operator!=
Status
cd1
Section
[istream.iterator.ops]
Submitter
Martin Sebor

Created on 2000-08-27.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Add paragraph 7 to the end of section 24.5.1.2 with the following text:

   template <class T, class charT, class traits, class Distance>
        bool operator!=(const istream_iterator<T,charT,traits,Distance>& x,
                        const istream_iterator<T,charT,traits,Distance>& y);

-7- Returns: !(x == y).

Date: 2000-08-27.00:00:00

24.5.1, p3 lists the synopsis for

   template <class T, class charT, class traits, class Distance>
        bool operator!=(const istream_iterator<T,charT,traits,Distance>& x,
                        const istream_iterator<T,charT,traits,Distance>& y);

but there is no description of what the operator does (i.e., no Effects or Returns clause) in 24.5.1.2.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2039
2000-08-27 00:00:00admincreate