| Home | Libraries | People | FAQ | More

###### value::value (6 of 35 overloads)

Move constructor.

<h7> Synopsis </h7>

    value(
        value&& other);

<h7> Description </h7>

The value is constructed by acquiring ownership of the contents of `other` and shared ownership of `other`'s memory resource.

<h7> Remarks </h7>

After construction, the moved-from value becomes a null value with its current storage pointer.

<h7> Complexity </h7>

Constant.

<h7> Exception Safety </h7>

No-throw guarantee.

<h7> Parameters </h7>

Name | Description
--- | ---
`other` | The value to move.