Title
Minor error in basic_istream::get
Status
cd1
Section
[istream.unformatted]
Submitter
Ray Lischner

Created on 2002-07-15.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Fixes an obvious typo.

Date: 2010-10-21.18:28:33

[ Pre-Oxford: Minor correction from Howard: replaced 'widen' with 'this->widen'. ]

Date: 2010-10-21.18:28:33

Proposed resolution:

Change the Effects paragraph to:

Effects: Calls get(sb,this->widen('\n'))

Date: 2002-07-15.00:00:00

Defect report for description of basic_istream::get (section [istream.unformatted]), paragraph 15. The description for the get function with the following signature:

  basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>&
  sb);

is incorrect. It reads

Effects: Calls get(s,n,widen('\n'))

which I believe should be:

Effects: Calls get(sb,widen('\n'))

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2386
2010-10-21 18:28:33adminsetmessages: + msg2385
2010-10-21 18:28:33adminsetmessages: + msg2384
2002-07-15 00:00:00admincreate