$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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