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).