
16 Dec
2011
16 Dec
'11
10:46 p.m.
'Afternoon,
I have a quick question on call traits and template argument
deduction. I want to use call_traits' value_type and param_type to
deduce a signature like
double desired_result(double const& x);
given an argument of type double.
Is there any way to get type deduction working on a snippet like
lousy_attempt (below) to produce my desired_result?
#include