checkpoint: toward regression testing repairs...

[SVN r23810]
This commit is contained in:
Ronald Garcia
2004-07-19 20:58:47 +00:00
parent b90f1d6584
commit 847bce350b

View File

@@ -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())