Workarounds for vc7

[SVN r20920]
This commit is contained in:
Dave Abrahams
2003-11-23 15:49:55 +00:00
parent 9542f4546b
commit f39fdf871b
3 changed files with 58 additions and 15 deletions

View File

@@ -85,15 +85,20 @@ public:
super_type((T*)initial_base_) {
allocate_space();
}
template <class ExtentList>
explicit multi_array(ExtentList const& extents) :
explicit multi_array(
ExtentList const& extents
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
, typename detail::multi_array::disable_non_sub_array<ExtentList>::type* = 0
#endif
) :
super_type((T*)initial_base_,extents) {
boost::function_requires<
detail::multi_array::CollectionConcept<ExtentList> >();
allocate_space();
}
template <class ExtentList>
explicit multi_array(ExtentList const& extents,
const general_storage_order<NumDims>& so) :