config. how to check if std::shared_ptr & std::scoped_ptr availability?

Hello! I need to check if std::shred_ptr & std::scoped_ptr availability. I read boost.config and found: http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/boost_config/boost... But in this list don't exist macro that I need. Ideas? Thanks. -- Regards, niXman

On Wed, May 2, 2012 at 9:43 PM, niXman
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

2012/5/2 Klaim - Joël Lamotte:
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.
Oh yes, std::unique_ptr =) Thanks. -- Regards, niXman

niXman wrote:
I need to check if std::shred_ptr & std::scoped_ptr availability.
BOOST_NO_CXX11_SMART_PTR, which is exactly what you want, has been recently introduced in trunk. Here is a link to the documentation: http://svn.boost.org/svn/boost/trunk/libs/config/doc/html/boost_config/boost... Regards, Michel

2012/5/2 Michel Morin:
BOOST_NO_CXX11_SMART_PTR, which is exactly what you want, has been recently introduced in trunk. Here is a link to the documentation: http://svn.boost.org/svn/boost/trunk/libs/config/doc/html/boost_config/boost...
Thanks! -- Regards, niXman
participants (3)
-
Klaim - Joël Lamotte
-
Michel Morin
-
niXman