[#fmt-formatter-03] = xref:fmt.adoc[fmt]::formatter<T> :relfileprefix: ../ :mrdocs: `fmt::format` support for any type convertible to `rich_error_base*`. == Synopsis Declared in `<folly/lang/Strong.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> requires std::is_convertible_v<T*, folly::rich_error_base*> struct formatter<T> : xref:fmt/formatter-063.adoc[fmt::formatter<folly::rich_error_base>] , fmt::formatter<T::underlying_type> ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:fmt/formatter-063.adoc[fmt::formatter<folly::rich_error_base>]` | `fmt::format` support for `rich_error_base` and derived classes. | `fmt::formatter<T::underlying_type>` | |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:fmt/formatter-03/format-0c.adoc[`format`] | `format` overloads | xref:fmt/formatter-03/parse-0b.adoc[`parse`] | Parses the format spec (align/fill/padding is not yet supported). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#