
28 Mar
2006
28 Mar
'06
12:56 p.m.
Hi.
I have a function which is templated with an integer
template <int N>
void f()
{
...
}
Within this function, I wish to use mpl::for_each to call another
integer-templated (say, g()) function, with all numbers from 0 to N-1.
How can I achieve this?
I thought of making a mpl::vector