
28 Jul
2005
28 Jul
'05
9:31 p.m.
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