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