This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

537. Typos in the signatures in and

Section: [istream.unformatted] Status: CD1 Submitter: Paolo Carlini Opened: 2006-02-12 Last modified: 2017-02-03

Priority: Not Prioritized

View all other issues in [istream.unformatted].

View all issues with CD1 status.


In the most recent working draft, I'm still seeing:

seekg(off_type& off, ios_base::seekdir dir)


seekp(pos_type& pos)

seekp(off_type& off, ios_base::seekdir dir)

that is, by reference off and pos arguments.

Proposed resolution:

After change:

basic_istream<charT,traits>& seekg(off_type& off, ios_base::seekdir dir);

After change:

basic_ostream<charT,traits>& seekp(pos_type& pos);

After change:

basic_ostream<charT,traits>& seekp(off_type& off, ios_base::seekdir dir);