Boost logo

Boost Users :

From: Kevin Jenkins (gameprogrammer_at_[hidden])
Date: 2008-07-22 00:03:22


Is there any way to automate this, to support from 0 to n parameters?

template <class P1, class P2, class P3, class P4, class P5>
bool DoIt(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) {
DoThat<P1>(p1);
DoThat<P2>(p2);
DoThat<P3>(p3);
DoThat<P4>(p4);
DoThat<P5>(p5);
}


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