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

3309. Is <ios> implicitly #included by <sstream>, <fstream> etc.?

Section: 29.8 [string.streams], 29.10 [file.streams] Status: New Submitter: Jens Maurer Opened: 2019-11-01 Last modified: 2019-11-04

Priority: 3

View all other issues in [string.streams].

View all issues with New status.

Discussion:

It is unclear whether the streams headers implicitly #include <ios> and make (for example) the name std::basic_ios available after including <sstream>.

This question becomes more important as header units arrive with modules, where there is an explicit choice whether to re-export names from subordinate headers.

[2019-11 Priority to 3 during Monday issue prioritization in Belfast]

Proposed resolution: