Creates a Cord from a std::string&& rvalue.
Declared in <absl/strings/cord.h>
template<
typename T,
EnableIfString<T> = 0>
explicit
Cord(T&& src);
These constructors are templated to avoid ambiguities for types that are convertible to both absl::string_view and std::string, such as const char*.
| Name | Description |
|---|---|
| T | The string type being consumed. |
| Name | Description |
|---|---|
| src | The string whose contents are moved into the Cord. |