
8 Nov
2003
8 Nov
'03
5:05 p.m.
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