Hi,

 

While I compile the code(see attached) based on the boost 1.54/1.55 using intel compiler c++ XE 14.0, I got following error.

 

Could you help please?

 

Thanks.

Chen Bo

 

1>------ Build started: Project: intelTest, Configuration: Debug Win32 ------

1>Build started 07/02/2014 18:09:33.

1>ClCompile:

1>  ***** ClCompile (Win32 - Intel C++)

1>  intelTest.cpp

1>  Warning #672: the command line options do not match those used when precompiled header file "Debug\intelTest.pchi" was created

1> 

1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility(2215): error : no instance of overloaded function "std::_Copy_impl" matches the argument list

1>              argument types are: (boost::detail::multi_array::array_iterator<int, const int *, boost::mpl::size_t<3U>, boost::detail::multi_array::const_sub_array<int, 2U, const int *>, boost::random_access_traversal_tag>, boost::detail::multi_array::array_iterator<int, const int *, boost::mpl::size_t<3U>, boost::detail::multi_array::const_sub_array<int, 2U, const int *>, boost::random_access_traversal_tag>, boost::detail::multi_array::array_iterator<int, int *, boost::mpl::size_t<3U>,

1>                        boost::detail::multi_array::sub_array<int, 2U>, boost::random_access_traversal_tag>, boost::detail::iterator_category_with_traversal<std::input_iterator_tag, boost::random_access_traversal_tag>, boost::detail::iterator_category_with_traversal<std::input_iterator_tag, boost::random_access_traversal_tag>)

1>    return (_Copy_impl(_First, _Last,

1>            ^

1>            detected during:

1>              instantiation of "_OutIt std::_Copy_impl(_InIt, _InIt, _OutIt, std::tr1::false_type) [with _InIt=boost::detail::multi_array::array_iterator<int, const int *, boost::mpl::size_t<3U>, boost::detail::multi_array::const_sub_array<int, 2U, const int *>, boost::random_access_traversal_tag>, _OutIt=boost::detail::multi_array::array_iterator<int, int *, boost::mpl::size_t<3U>, boost::detail::multi_array::sub_array<int, 2U>, boost::random_access_traversal_tag>]" at line 2227

1>              instantiation of "_OutIt std::copy(_InIt, _InIt, _OutIt) [with _InIt=boost::detail::multi_array::array_iterator<int, const int *, boost::mpl::size_t<3U>, boost::detail::multi_array::const_sub_array<int, 2U, const int *>, boost::random_access_traversal_tag>, _OutIt=boost::detail::multi_array::array_iterator<int, int *, boost::mpl::size_t<3U>, boost::detail::multi_array::sub_array<int, 2U>, boost::random_access_traversal_tag>]" at line 322 of

1>                        "C:\Users\chbeb9\Downloads\boost_1_55_0\boost/multi_array/view.hpp"

1>              instantiation of "boost::detail::multi_array::multi_array_view<T, NumDims> &boost::detail::multi_array::multi_array_view<T, NumDims>::operator=(const boost::detail::multi_array::multi_array_view<T, NumDims> &) [with T=int, NumDims=3U]" at line 447 of "C:\Users\chbeb9\Downloads\boost_1_55_0\boost/multi_array.hpp"

1>              instantiation of "boost::multi_array<T, NumDims, Allocator> &boost::multi_array<T, NumDims, Allocator>::resize(const boost::detail::multi_array::extent_gen<NumDims> &) [with T=int, NumDims=3U, Allocator=std::allocator<int>]" at line 32 of "intelTest.cpp"

1> 

1>  compilation aborted for intelTest.cpp (code 2)