Overload of Substitute() that fails to compile when the number of placeholders does not match the number of arguments.

Synopsis

Declared in <absl/strings/substitute.h>

std::string
Substitute(char const* format);

Return Value

The formatted string.

Parameters

Name

Description

format

The format string with $0‐`$9` placeholders.

Created with MrDocs