Hacker News new | ask | show | jobs
by GrumpySloth 915 days ago
It’s only transparent for types that already implement copy-on-write. For custom types you need to implement it yourself, using reference typed private properties.