I used to be confused about it a long time ago. Someone
summarized in an earlier post: "const" modifies the thing to the
left. If
there's nothing to the left, then it applies to the right.
I think it is easier to just always read declarations from right to
left (* is read as "pointer to"):
const char* cs
cs is a pointer to a const char
char* const cs
cs is a const pointer to char
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden