I am looking for pointers on how to use boost to implement a set of
template classes/helper functions which can be used for deferred
function/method call forwarding.
Here's an example of illustrating what I wish to accomplish.
I can live with restictions on the function argument types.
//Define a template type which can capture arguments of any (or
most) functions. I believe boost tuple could suit my requirements.
//Define a template helper function save_args which constructs a
arguments tuple based on the signature of the function passed
as the first argument.
e.g .
R f(T1, T2, T3);
boost:tuple