microsoft / microsoft/STL

`<ios>`, `<xiosbase>`: Many member functions of `basic_ios` are provided in `ios_base`

Open
#3,343 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug vNext
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

Describe the bug
Following member functions of basic_ios are currently provided in ios_base, which is SFINAE-observable, and may invalidate conforming program with a class directly derived from ios_base.

Expected behavior
These functions are not provided by ios_base. Perhaps they should be provided in an intermediate base.

Additional context
Fixes seem ABI-breaking and should be done in vNext.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the basic_ios and ios_base entry points named in the issue, along with how their member functions are currently exposed. Determine the ABI implications of moving the listed functions and how an intermediate base would affect directly derived ios_base classes. Done means the functions are no longer provided by ios_base, with the ABI-breaking work explicitly scoped for vNext.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.