mirror of
https://github.com/boostorg/multi_array.git
synced 2026-02-01 20:52:09 +00:00
checkpoint: toward regression testing repairs...
[SVN r23810]
This commit is contained in:
@@ -194,16 +194,8 @@ public:
|
||||
}
|
||||
|
||||
#else // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
// Enumerate the cases for MSVC
|
||||
// More limited support for MSVC
|
||||
|
||||
multi_array(const const_multi_array_ref<T,NumDims,T*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
: super_type(0,so,rhs.index_bases(),rhs.shape())
|
||||
{
|
||||
allocate_space();
|
||||
// Warning! storage order may change, hence the following copy technique.
|
||||
std::copy(rhs.begin(),rhs.end(),this->begin());
|
||||
}
|
||||
|
||||
multi_array(const const_multi_array_ref<T,NumDims,T const*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
@@ -214,15 +206,6 @@ public:
|
||||
std::copy(rhs.begin(),rhs.end(),this->begin());
|
||||
}
|
||||
|
||||
multi_array(const detail::multi_array::
|
||||
const_sub_array<T,NumDims,T*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
: super_type(0,so,rhs.index_bases(),rhs.shape())
|
||||
{
|
||||
allocate_space();
|
||||
std::copy(rhs.begin(),rhs.end(),this->begin());
|
||||
}
|
||||
|
||||
multi_array(const detail::multi_array::
|
||||
const_sub_array<T,NumDims,T const*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
@@ -233,15 +216,6 @@ public:
|
||||
}
|
||||
|
||||
|
||||
multi_array(const detail::multi_array::
|
||||
const_multi_array_view<T,NumDims,T*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
: super_type(0,so,rhs.index_bases(),rhs.shape())
|
||||
{
|
||||
allocate_space();
|
||||
std::copy(rhs.begin(),rhs.end(),this->begin());
|
||||
}
|
||||
|
||||
multi_array(const detail::multi_array::
|
||||
const_multi_array_view<T,NumDims,T const*>& rhs,
|
||||
const general_storage_order<NumDims>& so = c_storage_order())
|
||||
|
||||
Reference in New Issue
Block a user