Challenge: write a reference counted slice that works as much as possible like a built-in slice

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Mon Nov 8 22:35:59 UTC 2021


On 2021-11-08 17:07, Adam Ruppe wrote:
> On Monday, 8 November 2021 at 21:42:12 UTC, Andrei Alexandrescu wrote:
>> - work with qualifiers like T[] does, both RCSlice!(qual T) and 
>> qual(RCSlice!T)
> 
> I think this is an incorrect requirement. A const(T) is now allowed to 
> increase a reference count by definition.

How do you mean "now"?



More information about the Digitalmars-d mailing list