From: Asger Mangaard (tmb_at_[hidden])
Date: 2006-05-19 04:28:24
Tobias Schwinger wrote:
>> Could you give an example?
> Let's see (untested and incomplete code for illustration only):
It seems like you assume that two pimpl_ptr instances can hold the same
pointer. This is _not_ the case. Each instance of pimpl_ptr will have its
own instance of T, thus the COW (copy on non const access) isn't needed.