C++ Logo

SG16

Advanced search

Subject: Re: [SG16-Unicode] Comments on D1629R1 Standard Text Encoding
From: Lyberta (lyberta_at_[hidden])
Date: 2019-10-05 13:10:00


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.




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