Ticket #7896: storage.hpp.patch
File storage.hpp.patch, 660 bytes (added by , 10 years ago) |
---|
-
boost/numeric/ublas/storage.hpp
201 201 unbounded_array &operator = (const unbounded_array &a) { 202 202 if (this != &a) { 203 203 resize (a.size_); 204 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600)) 205 auto src = a.data_; 206 auto dest = data_; 207 while (src != a.data_ + a.size_) 208 *dest++ = *src++; 209 #else 204 210 std::copy (a.data_, a.data_ + a.size_, data_); 211 #endif 205 212 } 206 213 return *this; 207 214 }