The bug described in https://svn.boost.org/trac10/ticket/6554 seems to return. I tried the example from this bug in godbolt: https://godbolt.org/z/4vMf8oo4q and it fails to compile. The code I used is:
#include<boost/multi_array.hpp>structdata
{
int value;
};
typedef boost::multi_array<data, 2> array_type;
intmain() {
array_type a(boost::extents[4][5]);
// ERROR: Cannot compile this line
a.begin()->begin()->value = 7;
// Compiles successfully
(*a.begin()->begin()).value = 5;
return0;
}All versions of boost on godbolt (1.64 to 1.79) seem to be affected.
The bug described in https://svn.boost.org/trac10/ticket/6554 seems to return. I tried the example from this bug in godbolt: https://godbolt.org/z/4vMf8oo4q and it fails to compile. The code I used is:
All versions of boost on godbolt (1.64 to 1.79) seem to be affected.