|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-05-21 16:19:17
Daniel Walker wrote:
> Incidentally, we do know how to test for member templates now. Here's
> a thread archive discussing my patch to MPL that does this:
> http://tinyurl.com/2os8fl.
>
> So, it would be possible to implement a result_of that deduces the
> correct return type in corner cases like your example without
> decltype. But decltype is a much better all around solution.
Can you comment on why some of your tests fail with Comeau? I haven't
looked into your patch, but if it doesn't work with Comeau, there's a
good chance it's non-standard, which would be a deal-breaker for
tr1::result_of.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk