Problems with lambda implementation
Jason Merrill
jason@redhat.com
Sun Sep 13 00:11:00 GMT 2009
On 09/10/2009 03:45 PM, Sergey Sadovnikov wrote:
> 1. Lambda and template type deduction.
A patch I've been holding off on committing happens to fix this bug.
This is surprising, as I thought it was just a code cleanup. I guess
I'll go ahead and commit it soon.
> 2. Lambdas and result_of or something similar.
>
> How I can determine return type of lambda in compile time? As far as I
> could understood there is no way to do so. Is it right?
Use decltype?
Jason
More information about the Gcc
mailing list