Skip to content

[2026-06 LWG Motion 8] P3154R3 (Deprecating signed character types in iostreams)#9122

Merged
tkoeppe merged 1 commit into
cplusplus:mainfrom
notdanhan:motions-2026-06-lwg-8
Jul 15, 2026
Merged

[2026-06 LWG Motion 8] P3154R3 (Deprecating signed character types in iostreams)#9122
tkoeppe merged 1 commit into
cplusplus:mainfrom
notdanhan:motions-2026-06-lwg-8

Conversation

@notdanhan

Copy link
Copy Markdown
Contributor

Fixes #9095
Also Fixes cplusplus/papers#1804

@notdanhan notdanhan force-pushed the motions-2026-06-lwg-8 branch from c395cda to a2b2fd2 Compare June 14, 2026 15:57
@eisenwave eisenwave added this to the post-2026-06 milestone Jun 14, 2026
@tkoeppe tkoeppe force-pushed the motions-2026-06-lwg-8 branch from 894eac8 to a17bfe3 Compare July 15, 2026 12:09
Comment thread source/iostreams.tex Outdated
@@ -6791,9 +6755,6 @@
\tcode{basic_ostream<charT, traits>\&}
and the second is of type
\tcode{const char*},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing the edit to fix up the previous item.

(I'll fix that.)

@tkoeppe tkoeppe force-pushed the motions-2026-06-lwg-8 branch 2 times, most recently from 69a2158 to 622fe6b Compare July 15, 2026 12:20
@tkoeppe tkoeppe force-pushed the motions-2026-06-lwg-8 branch from 622fe6b to 482b5c6 Compare July 15, 2026 12:29
@tkoeppe tkoeppe merged commit 2236d9b into cplusplus:main Jul 15, 2026
2 checks passed
Comment thread source/iostreams.tex
\item
\tcode{traits::length(reinterpret_cast<const char*>(s))}
for the other two overloads.
\tcode{const char*}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an incredibly verbose way to say "for the first and third overloads" and "for the second overload". If we want to continue to refer to the parameter types not the ordering, we should at least talk about parameters not arguments!

And maybe the third overload should have been deprecated too, it will be redundant once the deprecated ones are gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2026-06 LWG Motion 8] P3154R3 (Deprecating signed character types in iostreams) P3154 R2 Deprecating signed character types in iostreams

4 participants