mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Fix misleading documentation about move support.
[SVN r84985]
This commit is contained in:
@ -8,11 +8,12 @@
|
|||||||
|
|
||||||
Support for move semantics is implemented using Boost.Move. If rvalue
|
Support for move semantics is implemented using Boost.Move. If rvalue
|
||||||
references are available it will use them, but if not it uses a close,
|
references are available it will use them, but if not it uses a close,
|
||||||
but imperfect emulation. On such compilers you'll need to use Boost.Move
|
but imperfect emulation. On such compilers:
|
||||||
to take advantage of using movable container elements, also note that:
|
|
||||||
|
|
||||||
* Non-copyable objects can be stored in the containers, but without support
|
* Non-copyable objects can be stored in the containers.
|
||||||
for rvalue references the container will not be movable.
|
They can be constructed in place using `emplace`, or if they support
|
||||||
|
Boost.Move, moved into place.
|
||||||
|
* The containers themselves are not movable.
|
||||||
* Argument forwarding is not perfect.
|
* Argument forwarding is not perfect.
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
Reference in New Issue
Block a user