
Thomas Klimpel wrote:
But of course, you want to know whether this is a bug in boost::multi_array or a bug in MSVC 2010beta2. Before we come to that, another "workaround" would be to change multi_array/iterator.hpp:56 for , boost::random_access_traversal_tag to , std::random_access_iterator_tag
This will most probably work, but would lying to the standard library, because the reference reference type of the corresponding iterator is not value_type& (but a proxy):
Of course, it would be best to fix it in Boost.Iterator, but this might be tricky as there seems to be some reason why the authors of Boost.Iterator initially (2003...) gave up on this problem.
Thanks for the Workaround. I do not have a complete overview of the problem, but i am afraid that it will hinder the use of VS2010 in many cases. I hope there will be some kind of proper workaround or fix to it. Regards -chris