I was reading about the new "tuple" type coming in c++0x, and I decided to try it. I saw that if you give a compiler flag -std=c++0x it will work. So I did it, and then #include <tuple> works and everything was good. Then I decided to try the default member initialization.

class Point
{
	public:
		int a = 4;
};

but it doesn't work. Does anyone know where I can find a list of which features are available using -std=c++0x and which are not yet available? I am using gcc.

Thanks,
Dave

This article has been dead for over six months. Start a new discussion instead.