Auto-init of constant struct members to 0???
Auto-init of constant struct members to 0???
- Subject: Auto-init of constant struct members to 0???
- From: Scott Ribe <email@hidden>
- Date: Fri, 05 Jan 2007 15:06:22 -0700
- Thread-topic: Auto-init of constant struct members to 0???
According to GCC 4 this is OK:
struct s { int foo; };
struct s mys = {};
But this isn't:
struct s { const int foo; };
struct s mys = {};
Is this correct?
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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