Ticket #1234: storage_unbounded_copy.patch
File storage_unbounded_copy.patch, 533 bytes (added by , 15 years ago) |
---|
-
storage.hpp
338 338 bounded_array (const bounded_array &c): 339 339 size_ (c.size_) { 340 340 // ISSUE elements should be copy constructed here, but we must copy instead as already default constructed 341 std::copy (c. data_, c.data_ + c.size_, data_);341 std::copy (c.begin(), c.end(), begin()); 342 342 } 343 343 344 344 // Resizing