From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10860 invoked by alias); 1 Nov 2011 15:03:41 -0000 Received: (qmail 10848 invoked by uid 22791); 1 Nov 2011 15:03:39 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Nov 2011 15:03:24 +0000 Received: by wyh5 with SMTP id 5so2495970wyh.20 for ; Tue, 01 Nov 2011 08:03:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.229.14 with SMTP id g14mr6015218weq.6.1320159800962; Tue, 01 Nov 2011 08:03:20 -0700 (PDT) Received: by 10.216.90.19 with HTTP; Tue, 1 Nov 2011 08:03:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 01 Nov 2011 15:03:00 -0000 Message-ID: Subject: Re: std::packaged_task trunk problem From: Jonathan Wakely To: =?ISO-8859-1?Q?Lars_Gullik_Bj=F8nnes?= Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00001.txt.bz2 On 1 November 2011 10:55, Lars Gullik Bj=F8nnes wrote: > > I am trying out trunk and the std::packaged_task in C++11. I found an > example on usage at > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2709.html > but are unable to make it work. > > I wonder if it is the example or if it is the libstdc++ playing up. Possibly, but that paper's quite old and the example might be invalid according to the final standard. I'll look into it later today.