id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 854,"multi_index, multi_array collision",nobody,joaquintides,"{{{ I'm not the most experienced user, so pl. excuse me if I'm just missing something. venkyn@gmail.com -------test.cc-------- /* simply including this causes the following errors on compilation */ #include #include int main() { /* this is one of the examples in the Boost multiarray documentation */ typedef boost::multi_array array_type; array_type A( boost::extents[3][4][2] ); A[0][0][0] = 3.14; } ---------- Trying to compile this: $> /home/sapo/software/compilers/gcc/gcc-3.2.3-install/bin/g++ -I/home/sapo/software/compilers/gcc/gcc-3.2.3-install/include -I/home/sapo/software/boost//include/boost-1_33_1 -L/home/sapo/software/compilers/gcc/gcc-3.2.3-install/lib -lm -o test src/test.cc /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/multi_array_ref.hpp: In member function `boost::const_multi_array_ref::reference boost::multi_array_ref::operator[](boost::const_multi_array_ref::index) [with T = double, unsigned int NumDims = 3]': src/test.cc:12: instantiated from here /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/multi_array_ref.hpp:515: no matching function for call to `boost::const_multi_array_ref::access(boost::type >, index&, double*, const size_type*, const index*, const index*)' /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/subarray.hpp: In member function `boost::detail::multi_array::const_sub_array::reference boost::detail::multi_array::sub_array::operator[](boost::detail::multi_array::const_sub_array::index) [with T = double, unsigned int NumDims = 2]': src/test.cc:12: instantiated from here /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/subarray.hpp:261: no matching function for call to ` boost::detail::multi_array::const_sub_array::access( boost::type >, index&, double*&, const size_type*, const index*, const index*)' /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/subarray.hpp: In member function `boost::detail::multi_array::const_sub_array::reference boost::detail::multi_array::sub_array::operator[](boost::detail::multi_array::const_sub_array::index) [with T = double, unsigned int NumDims = 1]': src/test.cc:12: instantiated from here /home/sapo/software/boost/include/boost-1_33_1/boost/multi_array/subarray.hpp:261: no matching function for call to ` boost::detail::multi_array::const_sub_array::access( boost::type, index&, double*&, const size_type*, const index*, const index*)' }}}",Bugs,closed,,multi_index,None,,None,,