Formats std::complex<T> as real+imagi (or real-imagi), applying the parsed specs to both the real and imaginary parts.
Declared in <fmt/std.h>
template<
typename T,
typename Char>
struct formatter<std::complex<T>, Char>;
| Name | Description |
|---|---|
format | Formats c as real+imagi (or real-imagi) into ctx. |
parse | Parses the format specifier for the complex number's real and imaginary parts. |