From: Alexander Nasonov (alnsn-boost_at_[hidden])
Date: 2005-06-01 10:11:19
Arkadiy Vertleyb <vertleyb <at> hotmail.com> writes:
> OTOH, passing the parameter through something like:
> template<class T>
> T make (const T&);
> seems to be able to convince GCC that this is indeed an expression. So, if
> we define the BOOST_TYPEOF (in native mode) something like this
> (mpl::identity insures consistency of typename usage):
> #define BOOST_TYPEOF(x) mpl::identity<__typeof__(make(x))>::type
> We should be able to achieve consistency between native and emulation modes.
Are you going to include it to the library?
-- Alexander Nasonov
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk