Boost logo

Boost Users :

Subject: Re: [Boost-users] config. how to check if std::shared_ptr & std::scoped_ptr availability?
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-05-02 09:07:56


On Wed, May 2, 2012 at 9:43 PM, niXman <i.nixman_at_[hidden]> wrote:

> I need to check if std::shred_ptr & std::scoped_ptr availability.
>

As far as I know there is no std::scoped_ptr, only boost::scoped_ptr. With
C++11 standard library, the equivalent (but that allow being moved and used
in a container) would be std::unique_ptr.

Joël Lamotte



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