Hi,

I'm currently trying to debug a project that's not mine. I have a basic understanding of C/C++ (do most work in C# though). Anyway, I stumbled over an error in the assign operator of unbounded_array:

I get an "invalid null pointer" error when the source (rhs) array is empty (size_ = 0). In this case (as far as I can tell) "resize()" will set "data_ = NULL" which triggers the error in "std::copy()".

There should be a check so that "std:copy()" isn't called when the source array is empty, right? (file "boost/numeric/ublas/storage.hpp" lines 200 - 206 in the current trunk).

Cheers
Sebastian