in-class initialization of fundamental types
in-class initialization of fundamental types
- Subject: in-class initialization of fundamental types
- From: Markian Hlynka <email@hidden>
- Date: Fri, 23 Sep 2005 16:23:41 -0600
Isn't the following suppposed to be legal in c++?
class foo
{
public:
static const int foo_max_size = 100;
private:
char fooname[foo_max_size];
};
xcode (and thus gcc4) doesn't seem to allow it, but I was certain I'd
read somewhere that this was now legal??
Markian
----
Quantum mechanics -- the dreams that stuff is made of.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden