Boost logo

Boost :

Subject: [boost] [smart_ptr] !defined(BOOST_NO_CXX11_SMART_PTR) does not imply !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
From: Michel Morin (mimomorin_at_[hidden])
Date: 2013-02-08 10:15:23

`!defined(BOOST_NO_CXX11_SMART_PTR)` does not necessarily mean that
the compiler support of rvalue references is available. For example,
when I use shared_ptr (on trunk) with clang + libc++ in a C++03 mode,
I get warnings something like

  warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    shared_ptr & operator=( std::unique_ptr<Y, D> && r )


Boost list run by bdawes at, gregod at, cpdaniel at, john at