30 Jan
2014
30 Jan
'14
5:25 p.m.
On 30 January 2014 10:41, Chris Stankevitz
On Thu, Jan 30, 2014 at 8:18 AM, Nevin Liber
wrote: you really don't want to use boost::nullptr, given that nullptr is a keyword in C++11.
boost::none might be a candidate for this.
Make sure it doesn't interfere with optional< shared_ptr<T> >. The std::optional proposal chose not to use nullptr for good reason. That proposal is at < http://open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3793.html>. IMO, it isn't worth this C++03-only change to shared_ptr just to occasionally save some typing. -- Nevin ":-)" Liber mailto:nevin@eviloverlord.com (847) 691-1404