CopyOnWrite(写时复制)

一个辅助库,用于简化写时复制 (copy-on-write) 的实现。