C++ Logo


Advanced search

Subject: Re: Bike shedding for Christmas: P1885 Naming Text Encodings
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-12-30 08:15:09

On Monday, 30 December 2019 01:34:35 -03 Tom Honermann wrote:
> That makes sense to me. When designing the version of text_view
> described in P0244 (https://wg21.link/p0244), I found no use for codecs
> in concepts or in interfaces; I specified them in terms of encoders and
> decoders. I still delivered encoder and decoder pairs as a codec that
> satisfied both encoder and decoder concepts. This seemed to work well,
> though I haven't received any specific feedback one way or another.

Hm... indeed, knowing how to get a matching pair might be useful. You don't
want to guess that you've got it right if you're doing forwards and backwards

For those interested, this is the review link for the API we're discussing:

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

SG16 list run by sg16-owner@lists.isocpp.org