This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re[2]: Problems with lambda implementation
- From: Сергей Садовников <flex_ferrum at artberg dot ru>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 15 Sep 2009 23:47:23 +0400
- Subject: Re[2]: Problems with lambda implementation
- References: <334812421.20090910234520@egopolis.com> <4AAC3897.7020002@redhat.com>
- Reply-to: Сергей Садовников <flex_ferrum at artberg dot ru>
Hello, Jason.
Sunday, September 13, 2009 at 4:11:03 AM you wrote:
>> 1. Lambda and template type deduction.
JM> A patch I've been holding off on committing happens to fix this bug.
JM> This is surprising, as I thought it was just a code cleanup. I guess
JM> 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?
JM> Use decltype?
Thanks. I'll try it.
--
Best Regards,
Сергей mailto:flex_ferrum@artberg.ru