Re: IB framework not compatible with Obj-C++ ?
Re: IB framework not compatible with Obj-C++ ?
- Subject: Re: IB framework not compatible with Obj-C++ ?
- From: Karin Kosina <email@hidden>
- Date: Mon, 16 Jun 2003 11:44:36 +0200
Hi,
Thanks to everybody who replied. Just to check that I got that
right (please correct me if I am wrong):
1. "and" is a keyword in C++.
2. "and" is (currently) also a keyword in Obj-C++
3. In InterfaceBuilder.framework (and probably elsewhere as well),
we have methods like
- (void) foo:(id)a and:(id)b
4. This obviously makes it impossible to compile these classes
with Obj-C++
5. Apple had two possibilities for resolving this:
(a) Break the IB.framework API (rename the methods).
(b) Change the Obj-C++ compiler to be not C++ compliant in
that respect.
... and chose to go for (b).
Is that correct?
I am sorry if this has been discussed on this list before, I
haven't been following the discussion here for long. In that case,
a reference to the archive would be greatly appreciated. (Try
searching for "and" in Google and you'll understand why STFW doesn't
work for me. ;))
Thanks, =/~ kyrah
--
Karin Kosina (vka kyrah)
Systems in Motion
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.