Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-04-05 14:41:25


Boost 1.33.1

In multi_array.hpp:

      struct populate_index_ranges {
        multi_array_types::index_range
        operator()(multi_array_types::index base,
                   multi_array_types::size_type extent) {
          return multi_array_types::index_range(base,base+extent);

The parameter name extent seems to be typedef'ed previously. This
results in:

external\boost\include\boost\multi_array.hpp(46) : warning C4224:
nonstandard extension used : formal parameter 'extent' was previously
defined as a type

I've changed it in my tree to be extent_.

Sohail


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