* 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:
Ion Gaztañaga
2008-12-13 13:47:00 +00:00
parent c1a6867856
commit 8f145becf5
15 changed files with 133 additions and 17 deletions

View File

@@ -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){