70 #ifndef ABSL_STRINGS_STR_FORMAT_H_ 71 #define ABSL_STRINGS_STR_FORMAT_H_ 121 template <
typename T>
249 template <
typename... Args>
278 template <
char...
Conv>
304 template <
typename... Args>
306 const Args&... args) {
322 template <
typename... Args>
325 const Args&... args) {
341 template <
typename... Args>
362 template <
typename... Args>
382 template <
typename... Args>
384 const Args&... args) {
405 template <
typename... Args>
407 const Args&... args) {
427 template <
typename T,
428 typename =
typename std::enable_if<std::is_constructible<
434 friend str_format_internal::FormatRawSinkImpl;
435 str_format_internal::FormatRawSinkImpl
sink_;
453 template <
typename... Args>
455 const Args&... args) {
522 #endif // ABSL_STRINGS_STR_FORMAT_H_
str_format_internal::StreamedWrapper< T > FormatStreamed(const T &v)
ABSL_MUST_USE_RESULT str_format_internal::Streamable StreamFormat(const FormatSpec< Args... > &format, const Args &...args)
std::string & StrAppendFormat(std::string *dst, const FormatSpec< Args... > &format, const Args &...args)
ABSL_MUST_USE_RESULT bool FormatUntyped(FormatRawSink raw_sink, const UntypedFormatSpec &format, absl::Span< const FormatArg > args)
ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec< Args... > &format, const Args &...args)
#define ABSL_MUST_USE_RESULT
std::string format(const std::string &, const time_point< seconds > &, const femtoseconds &, const time_zone &)
int FPrintF(std::FILE *output, const FormatSpec< Args... > &format, const Args &...args)
int PrintF(const FormatSpec< Args... > &format, const Args &...args)
typename str_format_internal::FormatSpecDeductionBarrier< Args... >::type FormatSpec
bool Format(FormatRawSink raw_sink, const FormatSpec< Args... > &format, const Args &...args)
std::unique_ptr< unsigned char[]> p_
int SNPrintF(char *output, std::size_t size, const FormatSpec< Args... > &format, const Args &...args)