Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2005-07-28 16:31:58


Jason Hise wrote:

> I plan to sneak an improved version of the null developed by Scott
> Meyers in with this code in a header called boost/null.hpp, and use it
> in the singleton's implementation. It will be defined as follows:

[...]

> #undef NULL
> #define NULL (::boost::null)

I violently object to sneaking in something that fundamental.

I also object to this idea in general. It doesn't buy us much, it breaks
existing code, it may cause ODR violations, and it also violates the C++
Standard.

Regards,
m
Send instant messages to your online friends http://au.messenger.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk