This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with lambda implementation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]