
On Thu, 10 Mar 2011 07:37:40 -0800 "Jeffrey Lee Hellrung, Jr." <jhellrung@ucla.edu> wrote:
What I'm really finding troubling, though, is the deep copy performed at line 2119 in integer.hpp when using thread-safe integer_t's: [...]
That's not what was intended for the original code. The deep-copy-everything behavior is, as mentioned above, a hack that I added in the last few days to provably and completely disable copy-on-write.
Correct me if I'm wrong, but this is the behavior of the thread-safe version of integer_t regardless of BOOST_XINT_USE_COW. So am I to infer from your comment that this line did *not* deep copy in the review version of the library?
It's not meant to. Whether it did or not, I can't say without closely examining the code. -- Chad Nelson Oak Circle Software, Inc. * * *