ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved