Slightly different case.

It is not only that there is a file that defines nil, it that there are a large number of files that depend on that definition.  For example, the GUI class library we use on the Mac, for legacy reasons, uses nil instead of NULL in default parameters, to initialize variables, etc. ...

Chris

> -----Original Message-----
> From: jk@steel.orel.ru [mailto:jk@steel.orel.ru]
> Sent: Friday, June 08, 2001 1:40 PM
> To: boost@yahoogroups.com
> Subject: Re: [boost] boost::nil
>
>
> 8 Jun 2001 18:05:46 +0400 Chris Little ΞΑΠΙΣΑΜ:
> >It is a design flaw but it has been around a long time.  nil
> is Pascal's
> >NULL.  All of the Mac OS's system interfaces were originally
> defined as
> >Pascal and nil has been in the system headers since 1984.
>
> There is terminal output library in Unix named "curses", and
> this curses
> defines in it's headers macros "erase", "clear" etc. It is
> nearly system
> library, and that macros are not making very big troubles in
> despite of
> presence of STL containers methods erase, clear etc.
>
> --
> jk
>