|
Boost : |
From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-03-12 11:00:27
In view of recent posts:
http://article.gmane.org/gmane.comp.lib.boost.devel/119358
http://article.gmane.org/gmane.comp.lib.boost.devel/119684
suggesting an interest in fixed size matrices (I guess in order
to speed execution) would it be desirable to have a variation of
multi_array where ExtentList was one of the template arguments
instead of an argument to the CTOR, as described here:
http://www.boost.org/libs/multi_array/doc/reference.html#multi_array
? Of course the ExtentList would just contain compile time
constants, something like mpl::vector_c<mpl::pair<index,index>,....>
where:
typedef multi_array_types::index index;
and the args to pair<index,index> would correspond to the args to
extent_range::extent_range(index start, index finish)
where, of course, extent_range is the current multi_array class.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk