DereferenceFormatter overloads
Synopses
Declared in <absl/strings/str_join.h>
Function overload of DereferenceFormatter() for using a default AlphaNumFormatter().
/* implementation-defined */::DereferenceFormatterImpl</* implementation-defined */::AlphaNumFormatterImpl>
DereferenceFormatter();
Formats its argument by dereferencing it and then applying the given formatter. This formatter is useful for formatting a container of pointer‐to‐T. This pattern often shows up when joining repeated fields in protocol buffers.
template<typename Formatter>
/* implementation-defined */::DereferenceFormatterImpl<Formatter>
DereferenceFormatter(Formatter&& f);
Return Value
-
A dereferencing formatter using the default formatter.
-
A formatter that dereferences each element before formatting it.
Parameters
Name |
Description |
f |
The formatter applied to the dereferenced element. |
Created with MrDocs