Boost logo

Boost :

Subject: Re: [boost] [utility][thread] result_of - erroneous result type from a C++11 lambda
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-06-17 16:18:50


On Mon, Jun 17, 2013 at 10:09 PM, Nathan Crookston <
nathan.crookston_at_[hidden]> wrote:

> The following patch will allow your use case to work, I believe:
>
> https://svn.boost.org/trac/boost/ticket/7753
>
>
Thanks I've seen this but wasn't sure it could solve the problem.
I'll try it.

> This has been discussed before, but I think your report is another data
> point indicating that users would prefer something that deduces correctly
> for all cases, even though it changes the deduction of a nullary function
> type from what TR1 would do.
>

Indeed.

Joel Lamotte


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