WG21 Operations Support
Switch to dark theme
Switch to light theme
Sign In
Overview
Papers
Updates
Discussion
Books
Community
Resources
Events
About
Standard
ISO C++ Standard
ISOCPP
ISOCPP.org
ISO
ISO.org
Switch to dark theme
Switch to light theme
Sign In
Mailings
›
July 2025
›
P3705R2
← P3705R1
|
P3709R1 →
P3705R2 — A Sentinel for Null-Terminated Strings
Eddie Nolan
LEWG
SG9
Revisions
R2
Jul 2025
R1
Jul 2025
View on open-std.org
GitHub issue #2334
Consider using `std::views::take` to get the first five characters from a string. If we pass a string literal with five or more characters, it looks okay:
×
Sign in
Use your Google or GitHub account.
Google
GitHub