template <FormatConversionCharSet... Args>
class FormatSpecTemplate
Defined at line 91 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h
Implicitly convertible from `const char*`, `string_view`, and the
`ExtendedParsedFormat` type. This abstraction allows all format functions to
operate on any without providing too many overloads.
Public Methods
void FormatSpecTemplate<Args...> ()
Honeypot overload for when the string is not constexpr.
We use the 'unavailable' attribute to give a better compiler error than
just 'method is deleted'.
template <typename = void>
void FormatSpecTemplate<Args...> (const char * s)
Honeypot overload for when the format is constexpr and invalid.
We use the 'unavailable' attribute to give a better compiler error than
just 'method is deleted'.
To avoid checking the format twice, we just check that the format is
constexpr. If it is valid, then the overload below will kick in.
We add the template here to make this overload have lower priority.
template <typename T = void>
void FormatSpecTemplate<Args...> (string_view s)
Defined at line 148 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h
void FormatSpecTemplate<Args...> (const char * s)
Good format overload.
Defined at line 157 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h
void FormatSpecTemplate<Args...> (string_view s)
Defined at line 161 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h
template <FormatConversionCharSet... C>
void FormatSpecTemplate<Args...> (const ExtendedParsedFormat<C...> & pc)
Defined at line 173 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h