C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] Comments on D1629R1 Standard Text Encoding

From: Lyberta <lyberta_at_[hidden]>
Date: Sat, 05 Oct 2019 18:10:00 +0000
Henri Sivonen:
> AFAICT, in general a Range
> erases information about whether the storage is contigous. It seems
> complicated to have an interface that seemingly erases this information and
> then behind the scenes tries to re-discover that the Range is actually
> contiguous. It seems to me that this makes it less obvious to the user what
> the performance characteristics are.

You can always have a hidden overload taking std::ranges::contiguous_range.


Received on 2019-10-05 20:10:52