From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-06-01 11:57:33
"Alexander Nasonov" <alnsn-boost_at_[hidden]> wrote
> 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,
> > 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
> Are you going to include it to the library?
I think so... What would be the benefit of allowing a type to be passed to
typeof? I can only see confusion, as in case with GCC.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk