id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9938,sp_array_test.cpp doesn't compile on clang++ without c++11,chris.cooper@…,Peter Dimov,"Compiling libs/smart_ptr/test/sp_array_test.cpp fails with both clang++ and g++ (compilers that came with Xcode 5.1, ""Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)"") unless c++11 is specified. The error is: sp_array_test.cpp:204:32: error: no matching constructor for initialization of 'boost::shared_ptr' boost::shared_ptr px2( std::move( px ) ); note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'unique_ptr >' to 'const boost::shared_ptr' for 1st argument One fix is to replace line 197 #if !defined( BOOST_NO_CXX11_SMART_PTR ) with #if !defined( BOOST_NO_CXX11_SMART_PTR ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES) ",Bugs,closed,To Be Determined,smart_ptr,Boost 1.54.0,Problem,fixed,,