Prepend overloads
Declared in <absl/strings/cord.h>
Prepends buffer to this cord, unless buffer has a zero length in which case this method has no effect on this cord instance.
void
Prepend(CordBuffer buffer);
» more...
Prepends string data to this Cord.
void
Prepend(std::string_view src);
» more...
Prepends another Cord to this Cord.
void
Prepend(Cord const& src);
» more...
Prepends string data to this Cord.
template<
typename T,
EnableIfString<T> = 0>
void
Prepend(T&& src);
» more...
| Name | Description |
|---|---|
| T | The string type being consumed. |
| Name | Description |
|---|---|
| buffer | The buffer whose contents are prepended. |
| src | The string data to prepend. |