[Fusion] Sequence adapter
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 as_vector< array<int,6> >::type == vector<int,int,int,int,int,int> Thanks in advance -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35
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
participants (2)
-
Joel de Guzman
-
Joel Falcou