C++ Logo


Advanced search

Subject: Re: [SG16-Unicode] code_unit_sequence and code_point_sequence
From: Martinho Fernandes (rmf_at_[hidden])
Date: 2018-06-19 06:43:06

On 19.06.18 13:33, Martinho Fernandes wrote:

text_view and
code_point_sequence shouldn't take encoding schemes as template
parameters, only encoding forms. Essentially, TextEncoding is as
horrible as std::basic_string in its design.

Also, for clarity, I'll mention again that that all encoding schemes without BOM fit the definition of encoding forms.
Anything that supports encoding forms will implicitly support BOM-less encoding schemes. It seems arbitrary to me
to support encoding forms *except for a few select ones*.

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