From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17946 invoked by alias); 15 Sep 2009 19:47:42 -0000 Received: (qmail 17938 invoked by uid 22791); 15 Sep 2009 19:47:41 -0000 X-SWARE-Spam-Status: No, hits=4.3 required=5.0 tests=AWL,BAYES_40,CHARSET_FARAWAY_HEADER,MIME_CHARSET_FARAWAY,SUBJ_RE_NUM X-Spam-Check-By: sourceware.org Received: from mail1.egopolis.com (HELO mail1.egopolis.com) (217.65.6.250) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Sep 2009 19:47:31 +0000 Received: from [192.168.0.3] ([217.65.6.250]) by mail1.egopolis.com (Merak 8.9.1) with ASMTP id WCS79653; Tue, 15 Sep 2009 20:55:53 +0100 Received: from [192.168.0.3] ([62.176.21.26] helo=[192.168.0.3]) by ASSP.nospam; 15 Sep 2009 20:55:53 +0100 Date: Tue, 15 Sep 2009 19:47:00 -0000 From: =?koi8-r?B?88XSx8XKIPPBxM/XzsnLz9c=?= Reply-To: =?koi8-r?B?88XSx8XKIPPBxM/XzsnLz9c=?= Message-ID: <524909814.20090915234723@artberg.ru> To: Jason Merrill CC: gcc@gcc.gnu.org Subject: Re[2]: Problems with lambda implementation In-Reply-To: <4AAC3897.7020002@redhat.com> References: <334812421.20090910234520@egopolis.com> <4AAC3897.7020002@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00284.txt.bz2 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