A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue537 below:

Typos in the signatures in 27.6.1.3/42-43 and 27.6.2.4

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 27.6.1.3/42-43 and 27.6.2.4

Section: 31.7.5.4 [istream.unformatted] Status: CD1 Submitter: Paolo Carlini Opened: 2006-02-12 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [istream.unformatted].

View all issues with CD1 status.

Discussion:

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

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

and

seekp(pos_type& pos)

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

that is, by reference off and pos arguments.

Proposed resolution:

After 27.6.1.3p42 change:

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

After 27.6.2.4p1 change:

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

After 27.6.2.4p3 change:

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4