fmt::format support for any type convertible to rich_error_base*.

Synopsis

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>

Base Classes

Name

Description

fmt::formatter<folly::rich_error_base>

fmt::format support for rich_error_base and derived classes.

fmt::formatter<T::underlying_type>

Member Functions

Name

Description

format

format overloads

parse

Parses the format spec (align/fill/padding is not yet supported).

Created with MrDocs