Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] Sequence adapter
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-02-01 11:42:24


Joel Falcou wrote:
> Fusion provides supprot for thing like boost::tuple or boost::array to
> be treated as fusion sequence in runtime algorithm.
>
> Is there any meta-function that gives me the compile-time conversion or
> should I build them myself ?
> eg

Conversion to what?

> as_vector< array<int,6> >::type == vector<int,int,int,int,int,int>

To fusion::vector? Yep, that is correct.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net