mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
* Updated documentation to show rvalue-references funcions instead of emulation functions.
* More non-copyable classes are now movable. * Move-constructor and assignments now leave moved object in default-constructed state instead of just swapping contents. * Several bugfixes (#2391, #2431, #1390, #2570, #2528). [SVN r50258]
This commit is contained in:
@@ -128,6 +128,8 @@ int main ()
|
||||
file_mapping move_ctor(detail::move_impl(mapping));
|
||||
file_mapping move_assign;
|
||||
move_assign = detail::move_impl(move_ctor);
|
||||
mapping.swap(detail::move_impl(move_assign));
|
||||
mapping.swap(move_assign);
|
||||
}
|
||||
}
|
||||
catch(std::exception &exc){
|
||||
|
||||
Reference in New Issue
Block a user