Re: Danger: @true and @false aren't considered booleans
Re: Danger: @true and @false aren't considered booleans
- Subject: Re: Danger: @true and @false aren't considered booleans
- From: Roland King <email@hidden>
- Date: Sun, 19 Aug 2012 12:21:28 +0800
>
> This is one instance where the numeric literal syntax possibly violates the principle of least surprise.
.. but doesn't violate its documentation, if I am reading it correctly
http://clang.llvm.org/docs/ObjectiveCLiterals.html
@true and @false are only defined in C++
There's a lot of stuff in there about literals I had no idea about at all, I'll give this one a read.
_______________________________________________
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