Re: [boost] singleton design plan
by Martin Wille other posts by this author
Jul 28 2005 3:07PM messages near this date
[boost] singleton design plan
|
[boost] null (was: singleton design plan)
SOURCE 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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Jason Hise
Martin Wille
Jason Hise
Martin Wille
Eric Niebler
Eric Niebler
Jason Hise
|