|
Boost : |
Subject: Re: [boost] [Inspect] More Apple issues
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-05-05 19:01:29
On 5/5/2010 12:44 PM, Stewart, Robert wrote:
> John Maddock wrote:
>>
>> I keep getting bug reports from users who want to compile code as
>> Objective-C++ in order to use the Apple OS X headers...
>> unfortunately this adds some more relatively common names that we
>> can't use
>> (http://developer.apple.com/mac/library/documentation/cocoa/co
>> nceptual/ObjectiveC/Articles/ocCPlusPlus.html#//apple_ref/doc/
>> uid/TP30001163-CH10-TPXREF167):
>>
>> id, Class, SEL, IMP, and BOOL
>
> Are these new names or is this just a new request? I'm thinking it
> would be nice if we could push the source of those names to avoid
> injecting such common names into the global namespace. If it's
> simply part of the Objective-C++ language, then I guess we're stuck.
They are types and defines in Apple Objective C runtime headers which
are often used in conjunction with not just Objective C++, but also with
plain C++ if you are interfacing with Objective C objects in some form
(For example I have a minimal equivalent of BPL for Objective C). As for
pushing Apple for using such common symbols.. good luck with that ;-)
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk