C++ Logo


Advanced search

Re: [SG16] Reinterpreting pointers of character types

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Thu, 28 Jan 2021 19:40:47 +0100
On 28/01/2021 19.22, Peter Brett via SG16 wrote:
> I think the big problem here is trying to make it a template.
> Make it named. It’s literally not possible to use this correctly in generic code.

Agreed. The template layer does not help.
It's only ever intended to work for char * -> char8_t, nothing else.
(Or maybe I've misunderstood.)


Received on 2021-01-28 12:40:58