Home
last modified time | relevance | path

Searched refs:to_stringable (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/fmtlib/test/
H A Dargs-test.cc66 struct to_stringable { struct
67 friend fmt::string_view to_string_view(to_stringable) { return {}; } in to_string_view() argument
71 template <> struct formatter<to_stringable> {
76 auto format(to_stringable, format_context& ctx) const -> decltype(ctx.out()) { in format()
84 auto s = to_stringable(); in TEST()
H A Dcompile-test.cc247 struct to_stringable { struct
248 friend fmt::string_view to_string_view(to_stringable) { return {}; } in to_string_view() argument
252 template <> struct formatter<to_stringable> {
258 auto format(const to_stringable&, FormatContext& ctx) -> decltype(ctx.out()) { in format()
265 fmt::format(FMT_COMPILE("{}"), to_stringable()); in TEST()