|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Formatter for reloco::checked_value<T> (aliased as microfmt::checked_value<T>).
More...
#include <monad.hpp>

Public Member Functions | |
| constexpr void | parse (format_parse_context &ctx) noexcept |
| void | format (const checked_value< T > &val, const sink &out) const noexcept |
Public Attributes | |
| microfmt::string_view | forwarded_spec {""} |
Formatter for reloco::checked_value<T> (aliased as microfmt::checked_value<T>).
Renders the held value directly – no Some(...)/Ok(...) wrapper, since a checked_value always holds a T once constructed, unlike optional/expected – or the literal text <moved-from> once the value has been moved out of.
|
inlinenoexcept |
|
inlineconstexprnoexcept |
| microfmt::string_view microfmt::formatter< checked_value< T > >::forwarded_spec {""} |