|
Boost Users : |
Subject: Re: [Boost-users] mpl and mpl::vector_c
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-26 20:08:53
AMDG
peter_foelsche_at_[hidden] wrote:
> All the vectors will be of equal length.
> Now the function myOperation is supposed to iterate over both the vectors at the same time and do different operations depending on the value of both vectors at this position.
>
Look at zip_view
<http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/zip-view.html>
and for_each
<http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/for-each.html>.
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