Introducing allocator_traits and pointer_traits changes into several libraries.

[SVN r76107]
This commit is contained in:
Ion Gaztañaga
2011-12-22 20:15:57 +00:00
parent ca6c464bec
commit 7cb27130d4
145 changed files with 2554 additions and 2281 deletions

View File

@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2009. Distributed under the Boost
// (C) Copyright Ion Gaztanaga 2004-2011. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -22,7 +22,7 @@ using namespace boost::interprocess;
shared_memory_object get_shared_memory_mapping()
{
shared_memory_object sh;
return shared_memory_object(boost::interprocess::move(sh));
return shared_memory_object(boost::move(sh));
}
int main ()
@@ -172,9 +172,9 @@ int main ()
{
//Now test move semantics
shared_memory_object mapping(open_only, process_id.c_str(), read_write);
shared_memory_object move_ctor(boost::interprocess::move(mapping));
shared_memory_object move_ctor(boost::move(mapping));
shared_memory_object move_assign;
move_assign = boost::interprocess::move(move_ctor);
move_assign = boost::move(move_ctor);
shared_memory_object ret(get_shared_memory_mapping());
}
}