Move‐assign from the specified rhs string and return *this.
Synopsis
Declared in <bslstl_string.h>
basic_string&
operator=(BloombergLP::bslmf::MovableRef<basic_string> rhs) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless AllocatorTraits::propagate_on_container_move_assignment::value || AllocatorTraits::is_always_equal::value.
Return Value
reference providing modifiable access to this string
Parameters
Name |
Description |
rhs |
right‐hand operand |
Created with MrDocs