0

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

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by daviddoria
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.