October 25

Has anybody been able to partially or completely extend std.typecons.RefCounted(T) to transparently do copy-on-write (CoW) when calling non-const members of T?

October 26

On Friday, 25 October 2024 at 18:19:27 UTC, Per Nordlöw wrote:

>

Has anybody been able to partially or completely extend std.typecons.RefCounted(T) to transparently do copy-on-write (CoW) when calling non-const members of T?

I think the key enabler is opDispatch.