|
Boost Users : |
Subject: [Boost-users] BOOST_PP_REPEAT to repeat comma-containing text
From: Igor R (boost.lists_at_[hidden])
Date: 2014-04-08 08:25:24
Hello,
I'm trying to repeat a group of actual parameters (passed to some 3d
party plain-C "variadic" function).
The function call looks like this:
func(count,
param1, param2, arr1[0], arr2[0],
param1, param2, arr1[1], arr2[1],
param1, param2, arr1[2], arr2[2] /* etc */);
So essentially, I'd like to repeat (param1, param2, arr1[n], arr2[n]) group.
What is the right way to invoke BOOST_PP_REPEAT in this case?
Thanks.
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