[#absl-PairFormatter-00] = xref:absl.adoc[absl]::PairFormatter :relfileprefix: ../ :mrdocs: `PairFormatter` overloads == Synopses Declared in `<absl/strings/str_join.h>` Function overload of PairFormatter() for using a default `AlphaNumFormatter()` for each Formatter in the pair. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- /* implementation-defined */::PairFormatterImpl</* implementation-defined */::AlphaNumFormatterImpl, /* implementation-defined */::AlphaNumFormatterImpl> xref:absl/PairFormatter-04.adoc[PairFormatter](std::string_view sep); ---- [.small]#xref:absl/PairFormatter-04.adoc[_» more..._]# Formats a `std::pair` by putting a given separator between the pair's `.first` and `.second` members. This formatter allows you to specify custom Formatters for both the first and second member of each pair. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename FirstFormatter, typename SecondFormatter> /* implementation-defined */::PairFormatterImpl<FirstFormatter, SecondFormatter> xref:absl/PairFormatter-02.adoc[PairFormatter]( FirstFormatter f1, std::string_view sep, SecondFormatter f2); ---- [.small]#xref:absl/PairFormatter-02.adoc[_» more..._]# == Return Value * A formatter for `std::pair` elements using the default formatter. * A formatter for `std::pair` elements. == Parameters [cols="1,4"] |=== | Name| Description | *sep* | The separator placed between the two members. | *f1* | The formatter for the pair's `.first` member. | *f2* | The formatter for the pair's `.second` member. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#