Overload of Substitute() that fails to compile when the number of placeholders does not match the number of arguments.
Declared in <absl/strings/substitute.h>
std::string
Substitute(
char const* format,
/* implementation-defined */ const& a0,
/* implementation-defined */ const& a1);
The formatted string.
| Name | Description |
|---|---|
| format | The format string with $0-$9 placeholders. |
| a0 | Substitution argument for $0. |
| a1 | Substitution argument for $1. |