Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SofaKernel] Use new conditions to select copy-on-write
Instead of relying on DataTypeInfo to detect if we should use copy-on-write mechanisme use standard c++ type traits to do so. NB: I'm not sure it make sense to handle a copy-on-write and non copy-on-write. Because using Data is actually already a slow mechanisme... so selecting between copy or non-copy mode is overkill. Forcing copy on write to true has also zero noticeable performance cost on the caducesus. So why not removig it.
- Loading branch information