This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ObjC strings (was Re: Merge cpplib and front end hashtables, part 1)


Neil Booth wrote:
> 
> Zack Weinberg wrote:-
> 
> > *nod* Although, do watch out for L"" and @"".  If I remember
> > correctly, they're contagious - "foo" L"bar" "baz" is valid and
> > equivalent to L"foobarbaz"...
> 
> Yes, that's my understanding.  I've read the Apple ObjC manual over
> the last 2 days, quite interesting :-), but I couldn't find any
> mention of ObjC strings.

Interesting, it's something that I've always known was there, and
real code certainly uses it plenty, but the manual doesn't seem to
define @"" strings officially.

I have a background task to get some sort of quasi-standardization
process going for Objective-C, partly to clear up this sort of
confusion, and partly to define Objective-C++, which we're reviving
(I know it sounds weird, but think Cocoa GUI calling C++ methods).

Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]