Assignment operators
Declared in <absl/strings/cord.h>
Assigns the contents of another Cord to this Cord.
Cord&
operator=(Cord const& x);
» more...
Move-assigns the contents of another Cord to this Cord.
Cord&
operator=(Cord&& x) noexcept;
» more...
Assigns a string to this Cord.
Cord&
operator=(std::string_view src);
» more...
Assigns a std::string&& rvalue to this Cord.
template<
typename T,
Cord::EnableIfString<T> = 0>
Cord&
operator=(T&& src);
» more...
A reference to this Cord.
| Name | Description |
|---|---|
| T | The string type being consumed. |
| Name | Description |
|---|---|
| x | The Cord to copy from. |
| src | The string data to copy into the Cord. |