Boost logo

Boost :

From: Peder Holt (peder.holt_at_[hidden])
Date: 2007-02-04 04:29:39


2007/2/2, Arkadiy Vertleyb <vertleyb_at_[hidden]>:
> "Alexander Nasonov" <alnsn_at_[hidden]> wrote
>
> > TPL suffixes are sometimes inconvenient. I implemented a wrapper
> > that derives from BOOST_TYPEOF(wrap(something)) in emulation mode.
> >
> > The wrap function is
> >
> > template<class T> mpl::identity<T> wrap(T&);
> >
> > It's somewhat similar to BOOST_TYPEOF_NESTED_TYPEDEF but not a
> > replacement for it. Is there any interest in my idea?
>
> Only if you can prove that it works on all the compilers ;-)
>
> My attempts to remove _TPL by using mpl::identity (and a few other
> indirection ways), immediately after Boost.Typeof acceptance, resulted in
> ICE on one of older compilers -- I think it was GCC 3.3, debug mode only,
> windows.
>
> > BTW, BOOST_TYPEOF_NESTED_TYPEDEF cannot be used at function/block
> > scope but this fact is not documented.
>
> I think Peder was going to do this at some point... Peder?

Oh, sorry. Forgot. Done now.

Peder.

>
> Regards,
> Arkadiy
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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