I'm using boost::scoped_array in a container that I want to make copy-on-write but I fear that scoped_array won't work. Which boost::smart_ptr container is closest to cow-safe scoped array?
Asked
Active
Viewed 152 times
0
-
what do you mean by "won't work?" In what way don't you think it will work? – rcollyer Oct 06 '11 at 16:54
-
The noncopyable design may make reference aliasing more trouble than it's worth. Less work to just use shared_array. – moshbear Oct 07 '11 at 03:59