C++ Logo


Advanced search

Subject: Re: [SG16-Unicode] code_unit_sequence and code_point_sequence
From: Lyberta (lyberta_at_[hidden])
Date: 2018-06-19 03:54:00

R. Martinho Fernandes:
> Maybe you know a use case for this that isn't the implementation nor transcoding?

What about [de]serialization? I just really don't want to complicate
code_point_sequence with endianness. code_point_sequence should be able
to use std::basic_string as buffer and std::basic_string supports only
native endianness.

code_unit_sequence is for working with encoding schemes. All other code
should only work with encoding forms and be oblivious to endianness.

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