
23 Jun
2005
23 Jun
'05
1:55 p.m.
Andy Little <andy <at> servocomm.freeserve.co.uk> writes:
"Arkadiy Vertleyb" <vertleyb <at> hotmail.com> wrote
FWIW, something like this:
template<class T> struct promoted { typedef BOOST_TYPEOF_TPL(T()+T()) type; };
But where would you need this ?
To implement int_fast_t? http://www.boost.org/libs/integer/integer.htm -- Alexander Nasonov