Skip navigation.
 
mlRe: nil pointers
FROM : Nat!
DATE : Tue Jul 11 20:06:25 2006

Am 11.07.2006 um 19:41 schrieb Uli Kusterer:

> Am 11.07.2006 um 19:06 schrieb Bill Bumgarner:

>> NSArray *arrayIAmGoingToGetFromSomewhereMaybe = (id) 0x1;

>
>  Whoa! I think I'm going to request that that be made an official 
> constant:
>
> #define INVALID ((id) 0x01)
>
>  that guarantees an access exception. For platforms that have no 
> address that's guaranteed to be invalid, they could always create a 
> singleton that just dies on receiving any message.
>


Interestingly the Visual Studio compiler can do (a similiar) 
initialization step for you automatically as a compiler option, very 
handy indeed. Maybe something to copy from Microsoft...

Ciao
    Nat!
------------------------------------------------------
Die Genialen bleiben immer halbe Kinder, in Eitelkeit
befangen, und verlassen sich immer auf Intuition, und
bon sens und Sentiment und wie all die franzoesischen
Worte heissen moegen. -- Fontane

Related mailsAuthorDate
mlnil pointers Adam Johnson Jul 11, 04:59
mlRe: nil pointers John C. Randolph Jul 11, 05:11
mlRe: nil pointers Agent M Jul 11, 05:26
mlRe: nil pointers j o a r Jul 11, 09:19
mlRe: nil pointers Uli Kusterer Jul 11, 18:20
mlRe: nil pointers Rob Ross Jul 11, 18:40
mlRe: nil pointers Todd Ransom Jul 11, 18:52
mlRe: Re: nil pointers Shawn Erickson Jul 11, 18:57
mlRe: nil pointers Andreas Mayer Jul 11, 19:00
mlRe: nil pointers Bill Bumgarner Jul 11, 19:06
mlRe: nil pointers Uli Kusterer Jul 11, 19:41
mlRe: nil pointers Bill Bumgarner Jul 11, 19:59
mlRe: nil pointers Nat! Jul 11, 20:06
mlRe: nil pointers glenn andreas Jul 11, 20:07
mlRe: nil pointers Uli Kusterer Jul 12, 00:42
mlRe: nil pointers Bill Bumgarner Jul 12, 00:52