[#absl-SubstituteAndAppend-08] = xref:absl.adoc[absl]::SubstituteAndAppend :relfileprefix: ../ :mrdocs: `SubstituteAndAppend` overloads == Synopses Declared in `<absl/strings/substitute.h>` Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0f1.adoc[SubstituteAndAppend]( std::string* output, std::string_view format); ---- [.small]#xref:absl/SubstituteAndAppend-0f1.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-07.adoc[SubstituteAndAppend]( std::string* output, char const* format); ---- [.small]#xref:absl/SubstituteAndAppend-07.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0d9.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0); ---- [.small]#xref:absl/SubstituteAndAppend-0d9.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-02.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0); ---- [.small]#xref:absl/SubstituteAndAppend-02.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0a.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1); ---- [.small]#xref:absl/SubstituteAndAppend-0a.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-013.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1); ---- [.small]#xref:absl/SubstituteAndAppend-013.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-01d.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2); ---- [.small]#xref:absl/SubstituteAndAppend-01d.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-05.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2); ---- [.small]#xref:absl/SubstituteAndAppend-05.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-00.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3); ---- [.small]#xref:absl/SubstituteAndAppend-00.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0ea.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3); ---- [.small]#xref:absl/SubstituteAndAppend-0ea.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-03c.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4); ---- [.small]#xref:absl/SubstituteAndAppend-03c.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-03b.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4); ---- [.small]#xref:absl/SubstituteAndAppend-03b.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0d1.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5); ---- [.small]#xref:absl/SubstituteAndAppend-0d1.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-03d.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5); ---- [.small]#xref:absl/SubstituteAndAppend-03d.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0be.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6); ---- [.small]#xref:absl/SubstituteAndAppend-0be.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-031.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6); ---- [.small]#xref:absl/SubstituteAndAppend-031.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-04.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7); ---- [.small]#xref:absl/SubstituteAndAppend-04.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0b1.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7); ---- [.small]#xref:absl/SubstituteAndAppend-0b1.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0ed.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7, /* implementation-defined */ const& a8); ---- [.small]#xref:absl/SubstituteAndAppend-0ed.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0f2.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7, /* implementation-defined */ const& a8); ---- [.small]#xref:absl/SubstituteAndAppend-0f2.adoc[_» more..._]# Substitutes variables into `format` and appends the result to `output`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-032.adoc[SubstituteAndAppend]( std::string* output, std::string_view format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7, /* implementation-defined */ const& a8, /* implementation-defined */ const& a9); ---- [.small]#xref:absl/SubstituteAndAppend-032.adoc[_» more..._]# Overload of `SubstituteAndAppend()` that fails to compile when the number of placeholders does not match the number of arguments. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/SubstituteAndAppend-0fc.adoc[SubstituteAndAppend]( std::string* output, char const* format, /* implementation-defined */ const& a0, /* implementation-defined */ const& a1, /* implementation-defined */ const& a2, /* implementation-defined */ const& a3, /* implementation-defined */ const& a4, /* implementation-defined */ const& a5, /* implementation-defined */ const& a6, /* implementation-defined */ const& a7, /* implementation-defined */ const& a8, /* implementation-defined */ const& a9); ---- [.small]#xref:absl/SubstituteAndAppend-0fc.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *output* | The string that the substituted result is appended to. | *format* | The format string with `$0`‐`$9` placeholders. | *a0* | Substitution argument for `$0`. | *a1* | Substitution argument for `$1`. | *a2* | Substitution argument for `$2`. | *a3* | Substitution argument for `$3`. | *a4* | Substitution argument for `$4`. | *a5* | Substitution argument for `$5`. | *a6* | Substitution argument for `$6`. | *a7* | Substitution argument for `$7`. | *a8* | Substitution argument for `$8`. | *a9* | Substitution argument for `$9`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#