|  | Home | Libraries | People | FAQ | More | 
Move assignment.
array& operator=( array&& other);
            The contents of the array are replaced with the contents of other using move semantics:
          
*other.storage() == *sp,
                ownership of the underlying memory is transferred in constant time,
                with no possibility of exceptions. After assignment, the moved-from
                array behaves as if newly constructed with its current storage pointer.
              *other.storage() != *sp,
                an element-wise copy is performed, which may throw. In this case,
                the moved-from array is not changed.
              
            Constant, or linear in this->size() plus other.size().
          
            Strong guarantee. Calls to memory_resource::allocate
            may throw.
          
| Name | Description | 
|---|---|
| 
                       | The array to move. |