Hello,
I am trying to compile a source file that utilizes boost::multi_array.
When I try to compile the file with the option -std=c++0x, I get the following error:
/apps/boost_1_48/include/boost/multi_array/extent_gen.hpp(62): error: class "boost::detail::multi_array::extent_gen<2UL>" has no suitable copy constructor
return extent_gen<NumRanges+1>(*this,range(0,idx));
^
detected during instantiation of "boost::detail::multi_array::extent_gen<<expression>> boost::detail::multi_array::extent_gen<NumRanges>::operator[](boost::detail::multi_array::index={ptrdiff_t={long}}) [with NumRanges=1UL]" at line 48 of
When I compile the same source file without -std=c++0x option, it compiles fine.
The compiler I am using: icpc 12.1.0
gcc version: 4.5.0
boost version 1_48
Any help is greatly appreciated. Thanks!
Norman