Closed dbiswas2808 closed 1 year ago
If the underlying type is const qualified I feel write() should be disabled. I haven't thought about this much but shouldn't const copy_on_write<Type> and copy_on_write<const Type> be semantically the same?
const
write()
const copy_on_write<Type>
copy_on_write<const Type>
If the underlying type is
const
qualified I feelwrite()
should be disabled. I haven't thought about this much but shouldn'tconst copy_on_write<Type>
andcopy_on_write<const Type>
be semantically the same?