Date: Sun, 7 Jan 2024 23:24:39 +0000
On Sun, 7 Jan 2024 at 21:57, Jens Maurer <jens.maurer_at_[hidden]> wrote:
>
> I don't think Unicode will (or can) consider possible ABI breaks in C++
> implementations
> of their algorithms, should we ever get there. Note that the availability
> of templates
> in C++ might establish ABI boundaries at surprising locations in the view
> of
> implementations in other programming languages (or in less template-heavy
> C++).
>
We might also want to be able to process Unicode strings during constant
evaluation. My grapheme cluster break code (and the utf32_view it makes use
of) are fully constexpr and can be used at compile time, even though
std::format doesn't require that.
>
> I don't think Unicode will (or can) consider possible ABI breaks in C++
> implementations
> of their algorithms, should we ever get there. Note that the availability
> of templates
> in C++ might establish ABI boundaries at surprising locations in the view
> of
> implementations in other programming languages (or in less template-heavy
> C++).
>
We might also want to be able to process Unicode strings during constant
evaluation. My grapheme cluster break code (and the utf32_view it makes use
of) are fully constexpr and can be used at compile time, even though
std::format doesn't require that.
Received on 2024-01-07 23:24:54