Hi Larry, This is strange, since this line is commented out!! Best Regards, Petros -----Original Message----- From: Larry Evans Sent: Monday, June 27, 2011 10:53 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Multi_array and rotated views On 06/27/11 20:38, petros wrote: Hi Petros, [snip]
cout << endl << "In Rotated System" << endl; for ( iterator3CRef it3 = rotated.begin(); it3 != rotated.end(); ++ it3 ) { cout << "in first iterator:"; //boost::const_multi_array_ref::const_sub_array
& d2 = *it3;
Changing this from '& d2' to 'const& d2' allowed me to compile the code with gcc4.6.
A friend (Larry Evans) , who had offered a lot of help in the past and whom I contacted for suggestion let me know that, the program did not compile in his environment (gcc 4.6.0 and boost v1.46). [snip] -regards, Larry
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users