|
Boost Users : |
From: Bruno Martínez (br1_at_[hidden])
Date: 2006-04-25 21:02:12
On Tue, 25 Apr 2006 20:15:37 -0300, Antonio Piccolboni
<piccolbo_at_[hidden]> wrote:
> I guess what you want is origin(). Iterate from origin() to
> origin+num_elements
I think you meant data(). I also think that does not work if you have a
multiarray that is a subset of another, because the elements are not
contiguous.
I also would like to iterate easily over all elements of a multiarray.
Maybe a foreach-like function is easier to write than a general iterator.
Bruno
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net