mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-11 21:33:52 +00:00
fixed MSVC 6.5/7.0 choking on a constructor involving a dependent typename
[SVN r34404]
This commit is contained in:
parent
eba81b3299
commit
8ce8ab8c8a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user