moshbear
moshbear

Reputation: 3322

boost::smart_ptr and COW containers

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?

Upvotes: 0

Views: 180

Answers (1)

jpalecek
jpalecek

Reputation: 47762

You could use boost::shared_array.

Upvotes: 2

Related Questions