Boost logo

Ublas :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-10-19 20:55:24

I noticed 2 issues when reading storage.hpp (current release).

1. IIUC, then resize_internal will not use the value of the 'init' parameter
unless 'preseve' is true. That is, new elements will not be initialized
with init unless preserve is true. Is this the desired behavior? I think
preserve and init should be orthogonal.

2. If new size is < old size, we still reallocate and copy storage. Is this
really the desired behavior?