-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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.
Description
The std::char module defines functions that could be instead associated methods of the char type (e.g., decode_utf16). Making them associated to the char type allows to use directly char::method instead of std::char::method. Similarly, the std::char::MAX and std::char::REPLACEMENT_CHARACTER could also be associated constants (like done with integer constants in #68952).
RalfJung, fee1-dead, ClementNerma, PaulDance, sandmor and 4 more
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.