public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: gcc@gcc.gnu.org
Cc: Richard Henderson <rth@redhat.com>,
	  "Vincent R." <forumer@smartmobili.com>,
	 "gcc@gcc.gnu.org >> GCC" <gcc@gcc.gnu.org>
Subject: Re: apple blocks extension
Date: Thu, 24 Sep 2009 20:41:00 -0000	[thread overview]
Message-ID: <4ABBA3F0.9040309@redhat.com> (raw)
Message-ID: <20090924204100.Ew6jGi6Gd_i1Xc_KRRcFibGDM6ggcnXnsqb9ODlJoyM@z> (raw)
In-Reply-To: <A2C5B61D-82F8-4382-950E-B323DF5ECE4E@apple.com>

On 09/24/2009 11:22 AM, Chris Lattner wrote:
> Can the lambda (containing X) be copied and put onto a queue? What is
> its type?

As you said, the lambda has a unique anonymous type.  If you want to put 
multiple lambdas into a container, you can use std::function as the 
element type.

Jason

  reply	other threads:[~2009-09-24 16:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 13:28 Vincent R.
2009-09-15 13:46 ` Steven Bosscher
2009-09-15 13:59   ` Dave Korn
2009-09-15 14:03   ` Tristan Gingold
2009-09-15 14:21     ` Vincent R.
2009-09-15 17:03     ` Michael Meissner
2009-09-15 16:04 ` Richard Henderson
2009-09-15 16:21   ` Ed Smith-Rowland
2009-09-15 16:50     ` Ian Lance Taylor
2009-09-16 15:50       ` Mark Mitchell
2009-09-16 16:21         ` Ian Lance Taylor
2009-09-16 18:12           ` Vincent R.
2009-09-16 18:40             ` Chris Lattner
2009-09-16 19:05               ` Dave Korn
2009-09-16 23:57           ` Linda A. Walsh
2009-09-15 16:35   ` Chris Lattner
2009-09-17  0:05     ` Linda A. Walsh
2009-09-24 14:57     ` Jason Merrill
2009-09-24 15:23       ` Chris Lattner
2009-09-24 16:53         ` Jason Merrill [this message]
2009-09-24 20:41           ` Jason Merrill
2009-09-25 16:55           ` Vincent R.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ABBA3F0.9040309@redhat.com \
    --to=jason@redhat.com \
    --cc=forumer@smartmobili.com \
    --cc=gcc@gcc.gnu.org \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).