
1 Mar
2012
1 Mar
'12
9:33 a.m.
Is there anything in Boost to help with the type deduction of simple arithmetic expressions? Essentially a C++03 version of template <typename T, typename U> struct deduce { typedef decltype( T / U ) type; }; (I know that wasn't valid code, it's just for exposition) Thx, - Rob.