Assignment operators
Declared in <bslstl_vector.h>
Copy-assign from the specified rhs.
vector<VALUE_TYPE, ALLOCATOR>&
operator=(vector const& rhs);
» more...
Move-assign from the specified rhs.
vector<VALUE_TYPE, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<vector<VALUE_TYPE, ALLOCATOR>> rhs) noexcept(/* see-below */);
» more...
Assign to this object the value resulting from first clearing this vector and then inserting (in order) each VALUE_TYPE object in the specified values.
vector<VALUE_TYPE, ALLOCATOR>&
operator=(std::initializer_list<VALUE_TYPE> values);
» more...
| Name | Description |
|---|---|
| rhs | the vector to copy-assign from |
| values | initializer list of elements |