Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-12-08 09:25:04


On 12/07/07 19:14, Larry Evans wrote:
> On 12/07/07 11:05, Larry Evans wrote:
> [snip]
>> There actually some code to illustrate this in the fold_seq_test.zip
>> file at:
>>
>> http://www.boost-consulting.com/vault/index.php?&directory=Template%20Metaprogramming
>>
[snip]
> fold_seq_test.zip has been replaced with:
>
> array_dyn_indices_static_shape_offset_demo.zip
>
> which requires nothing on my local disk. It will
[snip]
In same vault directory, there's now:

array_multi_dyn_indices_static_shape_demo.cpp

which doesn't bother with offset calcs and array<int,size>
indices. It just uses boost::array and a new template:
   array_multi
   < ValueType
   , mpl::vector_c<extent_type,size0,size1,...,sizeN>
>
for any N to implement any rank array. It
inherits from boost::array; hence, has all the
it's methods. The .cpp file compiles and runs.
That's all the testing that's been done.


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