Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What do we want in Carbon? (was Modern C++)



circa 11/8/03 3:26 PM, Mike Kluev <email@hidden> wrote:

>> The developer of application A calls GetNewDialog and passes the
>> resulting DialogRef to RunStandardAlert. It works due to some undocumented
>> implementation detail. ...

> That would probably not happen if RunStandardAlert, CreateStandardAlert,
> etc were prototyped to use some other type StdAlertDialogRef instead of
> DialogRef:

Well... yes. But I didn't pick the example, and in any case wishing there
had been different type choices doesn't make it so. In fact, the example can
be generalized quite broadly over the domains of language-level data type,
call time, call sequence, etc.

--

Pete Gontier
http://www.pete.gontier.org/
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: What do we want in Carbon? (was Modern C++) (From: Mike Kluev <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.