mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
#1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects #1635: Incomplete include guard in boost/intrusive [SVN r45692]
This commit is contained in:
@@ -122,6 +122,13 @@ int main ()
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
//Now test move semantics
|
||||
file_mapping mapping(test::get_process_id_name(), read_only);
|
||||
file_mapping move_ctor(move(mapping));
|
||||
file_mapping move_assign;
|
||||
move_assign = move(move_ctor);
|
||||
}
|
||||
}
|
||||
catch(std::exception &exc){
|
||||
std::remove(test::get_process_id_name());
|
||||
|
||||
Reference in New Issue
Block a user