|
Boost : |
From: Andy Little (andy_at_[hidden])
Date: 2005-06-23 06:32:27
"Arkadiy Vertleyb" <vertleyb_at_[hidden]> wrote
> FWIW, something like this:
>
> template<class T>
> struct promoted
> {
> typedef BOOST_TYPEOF_TPL(T()+T()) type;
> };
But where would you need this ?
Andy Little
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk