From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2007-03-20 16:23:09
On Tue, 2007-03-20 at 15:55 -0400, Arkadiy Vertleyb wrote:
> "Daniel Walker" <daniel.j.walker_at_[hidden]> wrote
> > I believe Boost.Typeof would handle the Fusion
> > case as well as any future conventions adopted by future libraries.
> > Still, for compilers that Boost.Typeof doesn't support, it would be
> > nice if result_of could handle Boost.Lambda at least. More recent
> > libraries and future libraries could consider adopting a previously
> > existing practice (result<F(Args) or sig<tuple<Args> >) that result_of
> > can support without typeof.
> Please note that typeof strips top-level references, and therefore its usage
> in relation to result_of is very limited and may not give the correct result
> unless you are sure that the result is not a reference.
Once decltype starts trickling into compilers, the Typeof library can
start using it. For example, ConceptGCC already supports decltype...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk