Need for (C++20) Contiguous Range

James Blachly james.blachly at gmail.com
Thu Oct 8 22:28:57 UTC 2020


On 10/8/20 10:06 AM, Steven Schveighoffer wrote:
> On 10/8/20 9:59 AM, Per Nordlöw wrote:
>> On Thursday, 8 October 2020 at 13:43:01 UTC, Ola Fosheim Grøstad wrote:
>>> Optimizations that require linear memory access, like SIMD. I believe.
>>
>> How could `isContiguousRange` be defined in D?
> 
> isDynamicArray!T
> 
> -Steve

Is this trait true of slices pointing to user managed blocks? In 
particular I may use arena-allocation strategy but would love to have 
the type also be `isContiguousRange`


More information about the Digitalmars-d mailing list