|
microfmt
Zero-allocation C++ formatting for constrained environments
|
#include <styled.hpp>

Public Member Functions | |
| MICROFMT_API_CONSTEXPR void | parse (format_parse_context &ctx) noexcept |
| MICROFMT_API void | format (const styled_str_view &input, const sink &out) const noexcept |
Public Attributes | |
| styled_str_view | cfg {} |
| bool | align_set {false} |
| bool | fill_set {false} |
Formatter for styled_str_view.
The format specifier accepts [fill][align][width][flags], where align is <, >, or ^; flags are u (uppercase), l (lowercase), t (title case), q (double quotes), b (square brackets), and .N (truncate to N characters with an ellipsis when possible). Specifier settings override the corresponding view settings.
|
noexcept |
|
noexcept |
| bool microfmt::formatter< styled_str_view >::align_set {false} |
| styled_str_view microfmt::formatter< styled_str_view >::cfg {} |
| bool microfmt::formatter< styled_str_view >::fill_set {false} |