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.
Synopsis
Declared in <absl/strings/str_join.h>
template<
typename FirstFormatter,
typename SecondFormatter>
/* implementation-defined */::PairFormatterImpl<FirstFormatter, SecondFormatter>
PairFormatter(
FirstFormatter f1,
std::string_view sep,
SecondFormatter f2);
Return Value
A formatter for std::pair elements.
Parameters
Name |
Description |
f1 |
The formatter for the pair's |
sep |
The separator placed between the two members. |
f2 |
The formatter for the pair's |
Created with MrDocs