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
1 Mar
1 Mar
9:43 a.m.
On Thu, Mar 1, 2012 at 9:33 AM, Robert Jones
Is there anything in Boost to help with the type deduction of simple arithmetic expressions?
Essentially a C++03 version of
template
struct deduce { typedef decltype( T / U ) type; }; (I know that wasn't valid code, it's just for exposition)
Why does that always happen....? Seconds after you hit send you find the answer! Boost.TypeOf is exactly what I'm looking for. Thx, and sorry for the noise! - Rob.
4637
Age (days ago)
4637
Last active (days ago)
1 comments
1 participants
participants (1)
-
Robert Jones