On Mon, Nov 28, 2011 at 1:06 PM, Asanka Wickramasinghe <asanka424@gmail.com> wrote:
Hi,

I am using

Mingw 4.6.1
Windows 7
intel core2duo 2.2GHz

I am trying to use lambda expressions. I am compiling with -std=c++0x option. But it seems that when I use [=] in order to include all the variables declared outside of the lambda expression it populates some garbage values. but I can use [x,y] to use these variables inside the lambda expression.

Is this a bug?

Thanks.
Asanka