Boost logo

Boost Users :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2003-11-08 12:05:38


Nasatyr, Ben (London) wrote:

> Suppose I have a 1d-array of size 10 (index base is 0). If I create a view
> on [0,10), strided by 3, shouldn't the size of the result be 4,
> corresponding to indices 0, 3, 6 and 9? Instead I get 3.

Hi,

It appears you have correctly diagnosed a bug in the code for views.
Thank you. I will check a fix into the Boost CVS.

Cheers,

ron


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