Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-30 15:57:31


AMDG

noman javed wrote:
> I have two questions
>
> How can we convert an array (arbitrary type, arbitrary size) to
> mpl::list. Is there any metafunction in mpl which can do this for us ?
>
> Second is there any way to send mpl::list (or any mpl sequence) to
> MPI_Alltoallv without converting it into an array ?
>
>

I don't understand your question. An MPL sequence
is a compile time sequence of types.

Given an array

int a[10];

What mpl::list do you want to get?
mpl::list10<int, int, int, int, int, int, int, int, int, int>?

In Christ,
Steven Watanabe


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