|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | cbor_map_view |
Functions | |
| class MICROFMT_API_CLASS | RELOCO_CONSUMABLE (unconsumed) RELOCO_POINTER map_writer |
| RAII writer for an indefinite-length streaming CBOR map. | |
| template<typename Fn > | |
| constexpr auto | cbor_map (Fn &&fn) noexcept |
| Wraps a map-writing callable for use as a format argument. | |
|
constexprnoexcept |
Wraps a map-writing callable for use as a format argument.
| class MICROFMT_API_CLASS microfmt::cbor::RELOCO_CONSUMABLE | ( | unconsumed | ) |
RAII writer for an indefinite-length streaming CBOR map.
RAII writer for an indefinite-length streaming CBOR array.
Consumed-state tracked: writes are only valid while unconsumed; end transitions the map to consumed, after which Clang's -Wconsumed flags any further key/kv/nested_* call as a compile-time diagnostic.
Consumed-state tracked: see map_writer for the state contract.