27 Sep
2008
27 Sep
'08
12:08 a.m.
AMDG peter_foelsche@agilent.com 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