Re: Why are BOOL and bool distinct types?
Re: Why are BOOL and bool distinct types?
- Subject: Re: Why are BOOL and bool distinct types?
- From: Rustam Muginov <email@hidden>
- Date: Wed, 08 Jun 2005 17:13:19 +0400
On 08.06.2005 12:44, "Todd Blanchard" <email@hidden> wrote:
> Digging around the header of NSMethodInvocation I see a NSObjCBoolType 'B' tag
> has been added. Nifty, so why is @encode(BOOL) == c but @encode(bool) == 'B'?
>
Perharbs BOOL is the Objective-C type and bool is C++ type?
> If Apple really wanted to see more apps on the platform - they'd fix this
> basic Basic BASIC stuff so I could quit spending all my development time
> working around their bugs and actually get to features for my app.
>
How do you think it is possible? Apple should demand C++ committee to change
their bool to match BOOL, and the whole world of C++ developer should agree?
Or to change BOOL and take break compartability with existing Obj-C
codebase?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden