template <typename... T>

struct fstring

Defined at line 2732 of file ../../third_party/fmtlib/src/include/fmt/base.h

A compile-time format string. Use `format_string` in the public API to

prevent type deduction.

Public Members

basic_string_view str

Public Methods

template <size_t N>
void fstring<T...> (const char (&)[N] s)

Reports a compile-time error if S is not a valid format string for T.

Defined at line 2749 of file ../../third_party/fmtlib/src/include/fmt/base.h

template <typename S, FMT_ENABLE_IF(std::is_convertible<const S&, string_view>::value)>
void fstring<T...> (const S & s)

Defined at line 2763 of file ../../third_party/fmtlib/src/include/fmt/base.h

template <typename S, FMT_ENABLE_IF(std::is_base_of<detail::compile_string, S>::value&&
                                                  std::is_same<typename S::char_type, char>::value)>
void fstring<T...> (const S & )

Defined at line 2776 of file ../../third_party/fmtlib/src/include/fmt/base.h

void fstring<T...> (runtime_format_string<> fmt)

Defined at line 2782 of file ../../third_party/fmtlib/src/include/fmt/base.h

const string_view & operator const fmt::basic_string_view<char> & ()

Returning by reference generates better code in debug mode.

Defined at line 2785 of file ../../third_party/fmtlib/src/include/fmt/base.h

string_view get ()

Defined at line 2786 of file ../../third_party/fmtlib/src/include/fmt/base.h