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

174. Typo: OFF_T vs. POS_T

Section: 99 [depr.ios.members] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-23 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [depr.ios.members].

View all issues with TC1 status.


According to paragraph 1 of this section, streampos is the type OFF_T, the same type as streamoff. However, in paragraph 6 the streampos gets the type POS_T

Proposed resolution:

Change 99 [depr.ios.members] paragraph 1 from "typedef OFF_T streampos;" to "typedef POS_T streampos;"