
Greetings Bernard, Indeed you have caught a bug in multi_array's view iterators. I have crafted a fix that I will check into CVS whenever Sourceforge is amenable. Thanks for the report. ron On May 24, 2006, at 8:07 AM, bernhard.maeder@zkb.ch wrote:
Hello everyone
I'm trying to use the boost.multi_array's iterators and came across a problem: calling end() on a certain multi_array_view only yields the same iterator, if it is called on exactly the same instance of the view. When, however, the view is created twice (using the same expression, of course), end() produces an iterator that doesn't compare to the first one.
In other words: m_a[indices[index_range()][1]].end() != m_a[indices[index_range()][1]].end()
I'm not sure whether this is just me, trying to use something in a way it shouldn't be used, or if this is a limitation of the multi_array library. I'd appreciate your opinion!