|
Boost : |
From: Chris Little (cslittle_at_[hidden])
Date: 2001-06-08 13:26:01
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_at_[hidden] [mailto:jk_at_[hidden]]
> Sent: Friday, June 08, 2001 1:40 PM
> To: boost_at_[hidden]
> 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
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk