C++ Logo

std-proposals

Advanced search

Re: [std-proposals] constexpr tolower, toupper, isalpha

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 07 Jul 2025 15:45:12 -0700
On Sunday, 6 July 2025 15:41:29 Pacific Daylight Time JJ Marr via Std-Proposals
wrote:
> If you want your characters to not have
> capitalization, you can call `std::toCasefold` before doing comparisons,
> which implements simple case folding from the Unicode standard.

No, you call a case-ignoring comparison function, instead of case-folding a
string before comparing.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Platform & System Engineering

Received on 2025-07-07 22:45:17