Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-22 17:04:10


Hi,

(Now my question was simplified.)
How can a sequence object be transformed into fusion::vector object, keeping mutability of elements?

For example,

When at_c return type Sequence of input is:

   int&, char, double const&, ...

, a type Sequence I need is:

   fusion::vector<result_of<F(int&)>::type, result_of<F(char)>::type, result_of<F(double
const&)>::type, ...>

Note that the output I need is not a fusion::transform_view but a fusion::vector.
as_vector doens't work, because as_vector makes use of value_of.
Am I missing some predefined function?

Regards,

-- 
Shunsuke Sogame

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