Merged from trunk

[SVN r81661]
This commit is contained in:
Ion Gaztañaga
2012-12-01 22:50:46 +00:00
parent 10e9d4604b
commit 69dc55a76a
20 changed files with 122 additions and 197 deletions
+5 -3
View File
@@ -8,8 +8,8 @@
// See http://www.boost.org/libs/move for documentation.
//
//////////////////////////////////////////////////////////////////////////////
#include <boost/move/move.hpp>
#include <boost/move/detail/config_begin.hpp>
#include <boost/move/utility.hpp>
#include "../example/movable.hpp"
#include <boost/static_assert.hpp>
@@ -64,7 +64,7 @@ movable create_movable()
{ return movable(); }
int main()
{
#if defined(BOOST_NO_RVALUE_REFERENCES)
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
BOOST_STATIC_ASSERT((boost::has_nothrow_move<movable>::value == true));
BOOST_STATIC_ASSERT((boost::has_nothrow_move<copyable>::value == false));
BOOST_STATIC_ASSERT((boost::has_move_emulation_enabled<copyable>::value == false));
@@ -112,3 +112,5 @@ int main()
return 0;
}
#include <boost/move/detail/config_end.hpp>