
8 Feb
2013
8 Feb
'13
5:05 p.m.
On 08/02/13 17:50, Ralph Tandetzky wrote:
It is as thread-safe as necessary. The reference counter is atomic. It's all well documented on github <https://github.com/ralphtandetzky/cow_ptr>. You can find all the thread-safety guarantees there. Thread-safety is documented at the bottom of the long comment preceeding the cow_ptr class.
This code is actually C++11 and incompatible with C++03. It is quite strange that you chose to implement a COW facility in the only dialect of the language that never needs it.