apple blocks extension

Jason Merrill jason@redhat.com
Thu Sep 24 20:41:00 GMT 2009


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



More information about the Gcc mailing list