Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-06-20 10:41:52


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]);

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk