|
Boost : |
From: Marcus Lindblom (macke_at_[hidden])
Date: 2007-05-08 10:19:24
Hi,
Multi_array is a really excellent piece of software. However, as I find
myself using it as a simple xD-container it's a bit odd at times.
I would very much like a smart swap operation to avoid doing resize &
assign. Also, I don't fully understand the argument on genericity, but I
haven't not worked with generic array algorithms. I do feel that having
a STL-like behaviour is important. The suggestion on an additional
template param would work (albeit, IMHO, it seems to be a bit hackish)
but I would rather have that behaviour as default, because I and some
others I know mostly use it as a very convenient xD-array with
stl-properties.
I was struggling a bit with swap/assignment, and found this discussion
http://lists.boost.org/boost-users/2007/02/25243.php. It doesnt' seem to
continue after that e-mail? Any progress/thoughts beyong that?
I also agree with point 2 in this posting
http://lists.boost.org/boost-users/2007/02/25576.php, which is something
we've found lacking at a few times.
Cheers,
/Marcus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk