Boost logo

Boost :

From: Alexander Nasonov (alnsn-boost_at_[hidden])
Date: 2005-06-23 08:55:07


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk