
20 Jun
2006
20 Jun
'06
2:41 p.m.
MSVC 6.5 and 7.0 have a hard time with line 391 of boost/multi_array.hpp, which involves a dependent typename keyword: ranges.ranges_[i] = typename gen_type::range(0,extents[i]); (See for instance http://tinyurl.com/pjxxl .) The attached patch fixes the problem (confirmed in MSVC 6.5, only an educated guess for MSVC 7.0.) Any objection to this being commited to the trunk and RC_1_34_0? Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo 391c391,392 < 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]);