
30 Jul
2008
30 Jul
'08
7:57 p.m.
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