Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2006-09-11 19:10:24


On 09/10/2006 11:52 PM, Larry Evans wrote:
> On 09/10/2006 06:19 PM, Larry Evans wrote:
> [snip]
>
>>I'm planning on next. My next step is figuring how to generate the
>>values (IOW, just like fusion::vector has values corresponding to
>>mpl::vector [OK, actually they're template arguments to the
>>fusion::vector, but maybe you get my idea], there would be fusion::array
>>having values corresponding to array<Shape,TypeArray>).
>
> Done. Implemented using fusion::cons; hence, it's probably
> slower than fusion::vector.
Latest version in boost/vault/Template Metaprogramming/array.cpp
shows 2 alternative implementations.

   1) array_impl_list
      This is the previous (and working) implementation.
   2) array_impl_vec
      This uses fusion::vector to implement. Fails to
      compile. Would appreciate suggestions on what to do.

TIA.


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