id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6554,Compiler error dereferencing multi_array value via an iterator,Bill Buklis,Ronald Garcia,"It is currently impossible to dereference/access the values contained in a multi_array via the -> operator from an iterator to the multi_array element. However, use the * operator works. Example: {{{ struct data { int value; }; typedef boost::multi_array array_type; array_type a(boost::extents[4][5]); // ERROR: Cannot compile this line a.begin()->begin()->value = 7; // Compiles successfully (*a.begin()->begin()).value = 5; }}} I'm using Visual Studio 2010. This is an error in both debug and release modes. This is the error: boost/multi_array/iterator.hpp(40): error C2528: '->' : pointer to reference is illegal ",Bugs,new,To Be Determined,multi_array,Boost 1.49.0,Problem,,,