Closed correaa closed 1 month ago
...now that subarray and const_subarray are related by inheritance,
for example template<class T, ::boost::multi::dimensionality_type D, class... A> struct std::common_reference<typename ::boost::multi::array<T, D, A...>::basic_const_array &&, ::boost::multi::array<T, D, A...> &> { using type = typename ::boost::multi::array<T, D, A...>::basic_const_array &&; };
template<class T, ::boost::multi::dimensionality_type D, class... A> struct std::common_reference<typename ::boost::multi::array<T, D, A...>::basic_const_array &&, ::boost::multi::array<T, D, A...> &> { using type = typename ::boost::multi::array<T, D, A...>::basic_const_array &&; };
in array.hpp line 1536.
array.hpp
customization of common_reference is now commented and seems to work.
...now that subarray and const_subarray are related by inheritance,
for example
template<class T, ::boost::multi::dimensionality_type D, class... A> struct std::common_reference<typename ::boost::multi::array<T, D, A...>::basic_const_array &&, ::boost::multi::array<T, D, A...> &> { using type = typename ::boost::multi::array<T, D, A...>::basic_const_array &&; };
in
array.hpp
line 1536.