Boost logo

Boost Users :

Subject: Re: [Boost-users] Multi_array and rotated views
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-06-27 22:53:56


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<int,2> & 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net