
23 Jan
2005
23 Jan
'05
10:37 a.m.
Yes.
int(double) means call an object of type int with one argument of type double.
You need result_of<F(A)>, where F is as above, and A is the argument type.
Thanks, I kind of figured that out eventually, I understand why it's done that way, but it wasn't obvious from the docs - or not late last yesterday afternoon anyway ;-) BTW, do you have any plans to apply result_of to reference_wrapper to make TR1 conforming (only if the compiler can cope obviously)? Many thanks, John.