This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/7744: streambuf::in_avail() always returns 0 (zero) for cin input stream


Synopsis: streambuf::in_avail() always returns 0 (zero) for cin input stream

State-Changed-From-To: open->analyzed
State-Changed-By: ljrittle
State-Changed-When: Wed Aug 28 14:47:49 2002
State-Changed-Why:
    Please read sections 27.5.2.2.3 27.5.2.4.3 of ISO-C++-14882.
    It is my belief that an implementation shall always be able
    to return 0.  Your portable application must handle an
    implementation that always returns 0.  At least one famous
    C++ (TC++PLSE) author agrees with my belief.  Thus, this
    is a QoI issue not a bug (reassigned to change-request
    from bug).  We agree that the current implementation is
    poor.  Please feel free to provide a patch that refines
    our implementation by submitting a patch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7744


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]