|
Boost : |
Subject: Re: [boost] Interest in multi-dimensional array class templates.
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-06-19 23:10:09
On 6/19/2011 4:57 PM, Brian Smith wrote:
> On 6/19/11, Mathias Gaunard<mathias.gaunard_at_[hidden]> wrote:
>
>> How does it integrate with range and iterators?
>>
> Iterators we're also implemented as separate classes then removed in
> favour of the view. The reason being they proved detremental to
> performance, maybe an implementation detail, nevertheless for the time
> being their gone. Ranges are a part of the view and iterators returned
> by classes are good old fashioned pointers that are owned by class
> that returns them.
How is the iteration implemented? One iterator for each dimension or
one general iterator that goes thru all elements sequentially?
-Phil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk