/// Copy constructor array_view(array_view const & X): BaseType(X.indexmap(),X.storage()) {}
array_view<V, sizeof...(I), Opt,indexmaps::mem_layout::c_order(sizeof...(I))> reinterpret_array_view (array_view<V,R,Opt,To,B> const & a, I ... index) { if (!has_contiguous_data(a)) TRIQS_RUNTIME_ERROR << "reinterpretation failure : data of the view are not contiguous"; return { {make_shape(index...)}, a.storage() }; }
/// Copy constructor array_view(array_view const& X) : IMPL_TYPE(X.indexmap(), X.storage()) {}