Date: Mon, 8 Jan 2024 18:12:55 +0100
On Sun, Jan 07, 2024 at 11:24:39PM +0000, Jonathan Wakely via SG16 wrote:
> 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 did the same for libc++.
Mark
> 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 did the same for libc++.
Mark
Received on 2024-01-08 17:13:00