[Boost-bugs] [Boost C++ Libraries] #3223: number of dimensions as static constant

Subject: [Boost-bugs] [Boost C++ Libraries] #3223: number of dimensions as static constant
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-26 15:48:15


#3223: number of dimensions as static constant
------------------------------+---------------------------------------------
 Reporter: fhess | Owner: garcia
     Type: Feature Requests | Status: new
Milestone: Boost 1.40.0 | Component: multi_array
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 multi_array and friends should provide the number of dimensions as a
 static member constant, so it is available at compile time and can be used
 in generic programming. I assume the num_dimensions() non-static member
 function was put in the design with the idea that the number of dimensions
 of a multi_array object might be dynamically changed. But since the multi
 array concept and classes doen't support changing the number of
 dimensions, it doesn't provide anything useful over a static constant.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3223>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC