Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2338R4 Freestanding Library: Character primitives and the C library #6356

Merged
merged 1 commit into from Jul 21, 2023

Conversation

jensmaurer
Copy link
Member

  • sort table [tab:headers.cpp.fs] by section number

Fixes #6298
Fixes cplusplus/papers#1017

@jensmaurer jensmaurer added this to the post-2023-06 milestone Jun 27, 2023
Copy link
Contributor

@JohelEGP JohelEGP left a comment

Choose a reason for hiding this comment

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

The application of the following instruction is missing:

Please add the following feature test macros to [version.syn]:

Note that such application introduces merge conflicts with #6355, as pointed out:

This paper also assumes that LWG3753 and P2198 have been accepted and applied.

source/lib-intro.tex Outdated Show resolved Hide resolved
source/support.tex Outdated Show resolved Hide resolved
source/utilities.tex Outdated Show resolved Hide resolved
source/utilities.tex Outdated Show resolved Hide resolved
size_t strspn(const char* s1, const char* s2); // freestanding
const char* strstr(const char* s1, const char* s2); // freestanding; see \ref{library.c}
char* strstr(char* s1, const char* s2); // freestanding; see \ref{library.c}
char* strtok(char* s1, const char* s2); // freestanding
Copy link
Contributor

Choose a reason for hiding this comment

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

strtok is now removed from freestanding library contents of C23 (see this documentation). Perhaps we need an LWG issue to strike strtok and wcstok.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is being handled by a future paper.

Editorial notes:
- sort table [tab:headers.cpp.fs] by section number
@tkoeppe tkoeppe merged commit b2cc526 into main Jul 21, 2023
4 checks passed
@jensmaurer jensmaurer deleted the motions-2023-06-lwg-12 branch November 12, 2023 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants