0

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?

moshbear
  • 3,282
  • 1
  • 19
  • 33

1 Answers1

2

You could use boost::shared_array.

jpalecek
  • 47,058
  • 7
  • 102
  • 144