digitalmars.D.learn - Copy-on-Write wrapper of std.typecons.RefCounted
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (3/3) Oct 25 Has anybody been able to partially or completely extend
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (2/5) Oct 25 I think the key enabler is opDispatch.
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`?
Oct 25
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.
Oct 25