Closed
Description
This is a tracking issue for making the inherent methods introduced in #46077 into const fn
. This includes all functions listed in #39658 for both u8
and char
, namely:
is_ascii_alphabetic
is_ascii_uppercase
is_ascii_lowercase
is_ascii_alphanumeric
is_ascii_digit
is_ascii_hexdigit
is_ascii_punctuation
is_ascii_graphic
is_ascii_whitespace
is_ascii_control
The feature gate for the const version of these functions is #![feature(const_ascii_ctype_on_intrinsics)]
. These cannot be const-stabilized until #![feature(const_if_match)]
is stable.
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Area: `[T]`Area: str and StringBlocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are tracked on the team's project board.Relevant to the library API team, which will review and decide on the PR/issue.