Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::none for boost::shared_ptr
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2014-01-30 11:41:12


On Thu, Jan 30, 2014 at 8:18 AM, Nevin Liber <nevin_at_[hidden]> 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.

In the meantime looks like I'm stuck with
g(shared_ptr<CSomeReallyLongClassName>());

Thanks,

Chris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net