fixed MSVC 6.5/7.0 choking on a constructor involving a dependent typename

[SVN r34404]
This commit is contained in:
Joaquín M. López Muñoz 2006-06-26 06:20:30 +00:00
parent eba81b3299
commit 8ce8ab8c8a

View File

@ -389,7 +389,8 @@ public:
gen_type ranges;
for (int i=0; i != NumDims; ++i) {
ranges.ranges_[i] = typename gen_type::range(0,extents[i]);
typedef typename gen_type::range range_type;
ranges.ranges_[i] = range_type(0,extents[i]);
}
return this->resize(ranges);