fmt::format support for any type convertible to rich_error_base*.
Declared in <folly/lang/Strong.h>
template<typename T>
requires std::is_convertible_v<T*, folly::rich_error_base*>
struct formatter<T>
: fmt::formatter<folly::rich_error_base>
, fmt::formatter<T::underlying_type>
| Name | Description |
|---|---|
fmt::formatter<folly::rich_error_base> | fmt::format support for rich_error_base and derived classes. |
fmt::formatter<T::underlying_type> |
| Name | Description |
|---|---|
format | format overloads |
parse | Parses the format spec (align/fill/padding is not yet supported). |