|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Formatter for long double values using printf-compatible presentation.
More...
#include <floating.hpp>

Public Member Functions | |
| constexpr void | parse (format_parse_context &ctx) noexcept |
| Parses the floating-point format specifier. | |
| void | format (long double val, const sink &out) const noexcept |
Renders a long double value. | |
Public Attributes | |
| detail::parsed_float_spec | spec_ {} |
| Parsed state carried from parse to format. | |
Formatter for long double values using printf-compatible presentation.
|
inlinenoexcept |
Renders a long double value.
| val | Value to format. |
| out | Destination sink. |
|
inlineconstexprnoexcept |
Parses the floating-point format specifier.
| ctx | Format parse context exposing the specifier text. |
| detail::parsed_float_spec microfmt::formatter< long double >::spec_ {} |