-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking issue for associated functions and consts of std::char. #71763
Copy link
Copy link
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The
std::charmodule defines functions that could be instead associated methods of thechartype (e.g.,decode_utf16). Making them associated to thechartype allows to use directlychar::methodinstead ofstd::char::method. Similarly, thestd::char::MAXandstd::char::REPLACEMENT_CHARACTERcould also be associated constants (like done with integer constants in #68952).