Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2006-09-13 19:07:41


On 09/11/2006 06:10 PM, Larry Evans wrote:
[snip]
> 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.
>
Correction appears in array.zip. Now array_impl_vec works
when cons_vec is used; however, when fusion::result_of::push_back
is used, it doesn't. Compiler out included in the .zip.

AFAICT, the mistake I'd made was not including ::type
after if_<...> and other places.


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